Merge pull request #1371 from Hixie/fab-snack

Make the FAB move up when a Snack Bar slides in.
This commit is contained in:
Ian Hickson
2015-09-29 15:23:49 -07:00
5 changed files with 149 additions and 29 deletions

View File

@@ -236,7 +236,6 @@ class StockHomeState extends State<StockHome> {
if (_snackBarStatus == AnimationStatus.dismissed)
return null;
return new SnackBar(
transitionKey: snackBarKey,
showing: _isSnackBarShowing,
content: new Text("Stock purchased!"),
actions: [new SnackBarAction(label: "UNDO", onPressed: _handleUndo)],