Initial commit
This commit is contained in:
commit
c4438365ab
78 changed files with 1900 additions and 0 deletions
34
lib/activeFires.dart
Normal file
34
lib/activeFires.dart
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'mainDrawer.dart';
|
||||
|
||||
class ActiveFiresMap extends StatelessWidget {
|
||||
static const String routeName = '/fires';
|
||||
final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>();
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
key: _scaffoldKey,
|
||||
drawer: new MainDrawer(context),
|
||||
appBar: new AppBar(
|
||||
title: Text('Active fires'),
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.menu),
|
||||
onPressed: () {
|
||||
_scaffoldKey.currentState.openDrawer();
|
||||
},
|
||||
),
|
||||
actions: <Widget>[
|
||||
new IconButton(
|
||||
icon: Icon(Icons.location_searching), onPressed: () => {}),
|
||||
IconButton(
|
||||
icon: Icon(Icons.more_vert),
|
||||
onPressed: () {
|
||||
print('More button');
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
body: new Text('No active fires'));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue