Merge pull request #1371 from Hixie/fab-snack
Make the FAB move up when a Snack Bar slides in.
This commit is contained in:
@@ -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)],
|
||||
|
||||
Reference in New Issue
Block a user