UI collapsable height profile, english settings menue

This commit is contained in:
Constantin Leue
2026-07-31 09:49:28 +02:00
parent 8cc9a51a34
commit cb91436fe4
12 changed files with 157 additions and 29 deletions
@@ -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);