Commit 46bbccf7 authored by Dasun Madushanka's avatar Dasun Madushanka

Update empty_state.dart

parent 461f61f9
...@@ -11,7 +11,7 @@ class EmptyState extends StatelessWidget { ...@@ -11,7 +11,7 @@ class EmptyState extends StatelessWidget {
return Material( return Material(
borderRadius: BorderRadius.circular(20), borderRadius: BorderRadius.circular(20),
elevation: 16, elevation: 16,
color: Theme.of(context).cardColor.withOpacity(.95), color: Theme.of(context).cardColor.withOpacity(.95),//card opacity
shadowColor: Theme.of(context).accentColor.withOpacity(.5), shadowColor: Theme.of(context).accentColor.withOpacity(.5),
child: Padding( child: Padding(
padding: EdgeInsets.all(20), padding: EdgeInsets.all(20),
...@@ -20,7 +20,7 @@ class EmptyState extends StatelessWidget { ...@@ -20,7 +20,7 @@ class EmptyState extends StatelessWidget {
children: <Widget>[ children: <Widget>[
Text(title, style: Theme.of(context).textTheme.headline2), Text(title, style: Theme.of(context).textTheme.headline2),
Padding( Padding(
padding: EdgeInsets.all(8.0), padding: EdgeInsets.all(8.0),//change the padding to 8
child: Text(message), child: Text(message),
), ),
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment