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