Add some padding

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-04 11:27:42 +02:00
parent 6467ef9374
commit e9353dcf01

View file

@ -75,9 +75,12 @@ class GenericMapBottom extends StatelessWidget {
.from(context, state.fireNotification.when)), .from(context, state.fireNotification.when)),
], ],
), ),
state.industries.length >= 0 || state.falsePos.length > 0 state.industries.length > 0 || state.falsePos.length > 0
? new Text(S.of(context).itSeemsNotAtForesFire, ? new Padding(
style: new TextStyle(color: fires600)) padding: new EdgeInsets.only(top: 10.0),
child: new Text(
S.of(context).itSeemsNotAtForesFire,
style: new TextStyle(color: fires600)))
: null, : null,
new DropdownButton<String>( new DropdownButton<String>(
style: new TextStyle( style: new TextStyle(
@ -95,7 +98,8 @@ class GenericMapBottom extends StatelessWidget {
}).toList(), }).toList(),
onChanged: (value) async { onChanged: (value) async {
// FIXME api call // FIXME api call
await new Future.delayed(new Duration(milliseconds: 500)); await new Future.delayed(
new Duration(milliseconds: 500));
scaffoldKey.currentState.showSnackBar(new SnackBar( scaffoldKey.currentState.showSnackBar(new SnackBar(
content: new Text( content: new Text(
S.of(context).thanksForParticipating), S.of(context).thanksForParticipating),