mucke/lib/presentation/pages/home_page.dart

46 lines
1.1 KiB
Dart
Raw Normal View History

2020-03-20 16:17:02 +01:00
import 'package:flutter/material.dart';
2020-08-28 11:28:58 +02:00
import '../widgets/highlight.dart';
2020-08-25 16:23:52 +02:00
import '../widgets/shuffle_all_button.dart';
2020-03-20 16:17:02 +01:00
class HomePage extends StatefulWidget {
2020-04-10 20:12:26 +02:00
const HomePage({Key key}) : super(key: key);
2020-03-20 16:17:02 +01:00
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
2020-04-10 20:12:26 +02:00
print('HomePage.build');
2020-08-28 11:28:58 +02:00
return SafeArea(
child: Column(
children: [
Row(
children: [
Expanded(
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 8.0,
horizontal: 12.0,
),
child: Text(
'mucke',
style: Theme.of(context).textTheme.headline1,
),
),
),
],
),
const Highlight(),
const ShuffleAllButton(
verticalPad: 10.0,
horizontalPad: 12.0,
),
],
2020-04-10 20:12:26 +02:00
),
2020-03-20 16:17:02 +01:00
);
}
2020-04-10 20:12:26 +02:00
}