From e9353dcf01c3087a33e8e89dbf1e39e555a94d9d Mon Sep 17 00:00:00 2001 From: "Vicente J. Ruiz Jurado" Date: Sat, 4 Aug 2018 11:27:42 +0200 Subject: [PATCH] Add some padding --- lib/genericMapBottom.dart | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/genericMapBottom.dart b/lib/genericMapBottom.dart index 963006c..e85c536 100644 --- a/lib/genericMapBottom.dart +++ b/lib/genericMapBottom.dart @@ -75,9 +75,12 @@ class GenericMapBottom extends StatelessWidget { .from(context, state.fireNotification.when)), ], ), - state.industries.length >= 0 || state.falsePos.length > 0 - ? new Text(S.of(context).itSeemsNotAtForesFire, - style: new TextStyle(color: fires600)) + state.industries.length > 0 || state.falsePos.length > 0 + ? new Padding( + padding: new EdgeInsets.only(top: 10.0), + child: new Text( + S.of(context).itSeemsNotAtForesFire, + style: new TextStyle(color: fires600))) : null, new DropdownButton( style: new TextStyle( @@ -95,7 +98,8 @@ class GenericMapBottom extends StatelessWidget { }).toList(), onChanged: (value) async { // FIXME api call - await new Future.delayed(new Duration(milliseconds: 500)); + await new Future.delayed( + new Duration(milliseconds: 500)); scaffoldKey.currentState.showSnackBar(new SnackBar( content: new Text( S.of(context).thanksForParticipating),