Have Flat buttons set their default text styles.
Also, have dialog buttons use the accent colour. Also, generally rationalise some of this stuff to match Material better.
This commit is contained in:
@@ -83,6 +83,29 @@ class StockHomeState extends State<StockHome> {
|
||||
),
|
||||
new DrawerItem(
|
||||
icon: 'action/account_balance',
|
||||
onPressed: () {
|
||||
showDialog(config.navigator, (NavigatorState navigator) {
|
||||
return new Dialog(
|
||||
title: new Text('Not Implemented'),
|
||||
content: new Text('This feature has not yet been implemented.'),
|
||||
actions: [
|
||||
new FlatButton(
|
||||
child: new Text('USE IT'),
|
||||
enabled: false,
|
||||
onPressed: () {
|
||||
navigator.pop(false);
|
||||
}
|
||||
),
|
||||
new FlatButton(
|
||||
child: new Text('OH WELL'),
|
||||
onPressed: () {
|
||||
navigator.pop(false);
|
||||
}
|
||||
),
|
||||
]
|
||||
);
|
||||
});
|
||||
},
|
||||
child: new Text('Account Balance')
|
||||
),
|
||||
new DrawerItem(
|
||||
|
||||
@@ -60,6 +60,19 @@ Future showStockMenu(NavigatorState navigator, { bool autorefresh, ValueChanged
|
||||
title: new Text('Not Implemented'),
|
||||
content: new Text('This feature has not yet been implemented.'),
|
||||
actions: [
|
||||
new FlatButton(
|
||||
child: new Row([
|
||||
new Icon(
|
||||
type: 'device/dvr',
|
||||
size: 18
|
||||
),
|
||||
new Container(
|
||||
width: 8.0
|
||||
),
|
||||
new Text('DUMP APP TO CONSOLE'),
|
||||
]),
|
||||
onPressed: () { debugDumpApp(); }
|
||||
),
|
||||
new FlatButton(
|
||||
child: new Text('OH WELL'),
|
||||
onPressed: () {
|
||||
|
||||
Reference in New Issue
Block a user