UI collapsable height profile, english settings menue
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
/// Ein-/Ausgeklappt-Zustand des Mini-Hoehenprofils in der Fusszeile,
|
||||
/// geteilt zwischen Plan- und Fly-Modus (MissionFooterBar). Rein
|
||||
/// UI-lokaler Zustand fuer die aktuelle Session, Standard: eingeklappt,
|
||||
/// damit die Karte moeglichst viel visuellen Raum bekommt.
|
||||
class AltitudeProfileExpandedNotifier extends Notifier<bool> {
|
||||
@override
|
||||
bool build() => false;
|
||||
|
||||
void toggle() => state = !state;
|
||||
}
|
||||
|
||||
final altitudeProfileExpandedProvider =
|
||||
NotifierProvider<AltitudeProfileExpandedNotifier, bool>(
|
||||
AltitudeProfileExpandedNotifier.new);
|
||||
Reference in New Issue
Block a user