123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- part of 'page_portrait.dart';
- class PageLand extends StatelessWidget {
- const PageLand({super.key});
- @override
- Widget build(BuildContext context) {
- var height = MediaQuery.of(context).size.height;
- height -= MediaQuery.of(context).viewInsets.vertical;
- return SizedBox.expand(
- child: Container(
- color: backgroundColor,
- child: Padding(
- padding: MediaQuery.of(context).padding,
- child: Row(
- mainAxisSize: MainAxisSize.min,
- children: <Widget>[
- const Expanded(
- child: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: <Widget>[
- Spacer(),
- SystemButtonGroup(),
- Spacer(),
- Padding(
- padding: EdgeInsets.only(left: 40, bottom: 40),
- child: DropButton(),
- )
- ],
- ),
- ),
- _ScreenDecoration(child: Screen.fromHeight(height * 0.8)),
- const Expanded(
- child: Column(
- children: <Widget>[
- Spacer(),
- DirectionController(),
- SizedBox(height: 30),
- ],
- ),
- ),
- ],
- ),
- ),
- ),
- );
- }
- }
|