Polish and refactor
This commit is contained in:
parent
40842dc4e4
commit
188a9bc249
5 changed files with 41 additions and 69 deletions
|
|
@ -44,18 +44,20 @@ class _LeafletMapState extends State<LeafletMap> {
|
|||
appBar: new AppBar(
|
||||
title: new Text(title),
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
floatingActionButton: FloatingActionButton.extended(
|
||||
onPressed: () {
|
||||
|
||||
},
|
||||
child: const Icon(Icons.notifications_none),
|
||||
backgroundColor: Colors.orange,
|
||||
icon: const Icon(Icons.notifications_none, color: fires600),
|
||||
label: new Text('Subscribe', style: const TextStyle(color: fires600),),
|
||||
backgroundColor: Colors.white,
|
||||
),
|
||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
|
||||
bottomNavigationBar: new CustomBottomAppBar(
|
||||
fabLocation: FloatingActionButtonLocation.centerFloat,
|
||||
showNotch: false,
|
||||
color: fires100,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
actions: listWithoutNulls(<Widget>[
|
||||
numFires > 0 ?
|
||||
new Text('${numFires.toString()} fires at $kmAround км around this area'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue