feat(tactical-app): full sovereign military suite in Flutter with first-run onboarding, artillery ballistics, HLZ assessment, minefield breach, isochrone, symbols, and overlays
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../models/angle_unit.dart';
|
||||
import '../models/navigation_state.dart';
|
||||
|
||||
class ActiveNavigationTopBanner extends StatelessWidget {
|
||||
@@ -192,3 +193,27 @@ class ActiveNavigationBottomHUD extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Unified Active Navigation HUD Container
|
||||
class ActiveNavigationHud extends StatelessWidget {
|
||||
final ActiveNavigationState state;
|
||||
final AngleUnit angleUnit;
|
||||
final VoidCallback onStopNavigation;
|
||||
|
||||
const ActiveNavigationHud({
|
||||
super.key,
|
||||
required this.state,
|
||||
required this.angleUnit,
|
||||
required this.onStopNavigation,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Stack(
|
||||
children: [
|
||||
ActiveNavigationTopBanner(navState: state),
|
||||
ActiveNavigationBottomHUD(navState: state, onStopNavigation: onStopNavigation),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user