mirror of
https://github.com/Myzel394/quid_faciam_hodie.git
synced 2025-06-23 17:30:31 +02:00
16 lines
358 B
Dart
16 lines
358 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class TimelineOverlay extends ChangeNotifier {
|
|
bool _showOverlay = true;
|
|
|
|
bool get showOverlay => _showOverlay;
|
|
|
|
void hideOverlay() => setShowOverlay(false);
|
|
void restoreOverlay() => setShowOverlay(true);
|
|
|
|
void setShowOverlay(bool showOverlay) {
|
|
_showOverlay = showOverlay;
|
|
notifyListeners();
|
|
}
|
|
}
|