mirror of
https://github.com/johrpan/memor.git
synced 2025-10-28 19:27:25 +01:00
Add icon to empty home screen
This commit is contained in:
parent
0d56a60bd0
commit
3435c0e51c
1 changed files with 21 additions and 5 deletions
|
|
@ -126,11 +126,27 @@ class HomeScreen extends StatelessWidget {
|
|||
);
|
||||
} else {
|
||||
return Center(
|
||||
child: Text(
|
||||
l10n.noReminders,
|
||||
style: Theme.of(context).textTheme.headline6.copyWith(
|
||||
color: Colors.grey,
|
||||
),
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
Icon(
|
||||
Icons.notifications_off,
|
||||
color: Colors.grey[300],
|
||||
size: 128.0,
|
||||
),
|
||||
SizedBox(
|
||||
height: 8.0,
|
||||
),
|
||||
Text(
|
||||
l10n.noReminders,
|
||||
style: Theme.of(context).textTheme.headline6.copyWith(
|
||||
color: Colors.grey[300],
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: 64.0,
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue