summaryrefslogtreecommitdiffstats
path: root/lib/page_media.dart
diff options
context:
space:
mode:
authorFelipe Erias <felipeerias@igalia.com>2021-11-12 13:59:07 +0900
committerFelipe Erias <felipeerias@igalia.com>2021-11-12 13:59:07 +0900
commit3cdd54458bfc6ba0066cb2a82c4a91bd4baf9b82 (patch)
tree60fb1bd885862af8f02beb2b837f401593e77576 /lib/page_media.dart
parentd3e731d226bdab810572c14b25d6991268315bba (diff)
Nice animation when switching pages
Diffstat (limited to 'lib/page_media.dart')
-rw-r--r--lib/page_media.dart15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/page_media.dart b/lib/page_media.dart
index 6946598..b3e0c75 100644
--- a/lib/page_media.dart
+++ b/lib/page_media.dart
@@ -1,12 +1,19 @@
import 'package:flutter/material.dart';
class MediaPage extends StatelessWidget {
- // TODO placeholder
+
+ const MediaPage({Key? key}) : super(key: key);
+
@override
Widget build(BuildContext context) {
- return Text(
- 'Media',
- style: Theme.of(context).textTheme.headline1,
+ return Container(
+ color: Colors.lightBlue,
+ constraints: BoxConstraints.expand(),
+ alignment: Alignment.center,
+ child: Text(
+ 'Media',
+ style: Theme.of(context).textTheme.headline1,
+ ),
);
}
}