layer_front_ui.dart 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import 'game_std_controller.dart';
  2. import 'layer_front_ui_bottom_bar.dart';
  3. import 'layer_front_ui_button_bar.dart';
  4. class LayerFrontUI extends GetView<LayerController> {
  5. const LayerFrontUI({super.key});
  6. GameStdController get c => controller as GameStdController;
  7. @override
  8. Widget build(BuildContext context) {
  9. return Column(
  10. children: [
  11. Container(
  12. width: context.width,
  13. height: context.mediaQueryPadding.top,
  14. decoration: BoxDecoration(color: Colors.grey.withAlpha(150)),
  15. ),
  16. // _TopBar(),
  17. Expanded(
  18. child: Container(
  19. padding: const EdgeInsets.only(top: 12),
  20. width: double.infinity,
  21. child: Stack(
  22. alignment: AlignmentDirectional.center,
  23. children: [
  24. Obx(() {
  25. return LayerButtonBar(
  26. isShowCheckCPButton: c.isShowCheckCPButton,
  27. isCheckCPButtonEnable:
  28. c.isCheckCPButtonEnable,
  29. );
  30. }),
  31. // _PhoneHorizontalWarn(),
  32. ],
  33. ))),
  34. const LayerBottomBar(),
  35. ],
  36. );
  37. }
  38. }