mirror of https://github.com/AMT-Cheif/drift.git
Update example app
This commit is contained in:
parent
d0a969e9cc
commit
2920681ff9
|
@ -7,4 +7,5 @@ lcov.info
|
|||
pubspec.lock
|
||||
.dart_tool/
|
||||
|
||||
benchmark_results.json
|
||||
benchmark_results.json
|
||||
.flutter-plugins-dependencies
|
|
@ -15,12 +15,7 @@ class MyApp extends StatelessWidget {
|
|||
title: 'moor Demo',
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.orange,
|
||||
// use the good-looking updated material text style
|
||||
typography: Typography(
|
||||
englishLike: Typography.englishLike2018,
|
||||
dense: Typography.dense2018,
|
||||
tall: Typography.tall2018,
|
||||
),
|
||||
typography: Typography.material2018(),
|
||||
),
|
||||
home: HomeScreen(),
|
||||
),
|
||||
|
|
|
@ -22,7 +22,7 @@ class _AddCategoryDialogState extends State<AddCategoryDialog> {
|
|||
padding: const EdgeInsets.all(8),
|
||||
child: Text(
|
||||
'Add a category',
|
||||
style: Theme.of(context).textTheme.title,
|
||||
style: Theme.of(context).textTheme.headline6,
|
||||
),
|
||||
),
|
||||
TextField(
|
||||
|
|
|
@ -15,7 +15,7 @@ class CategoriesDrawer extends StatelessWidget {
|
|||
'Todo-List Demo with moor',
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.subhead
|
||||
.subtitle1
|
||||
.copyWith(color: Colors.white),
|
||||
),
|
||||
decoration: BoxDecoration(color: Colors.orange),
|
||||
|
|
Loading…
Reference in New Issue