fix:fluttetToast backHome

This commit is contained in:
yifeng.yl
2019-01-25 10:57:48 +08:00
parent 515325b36d
commit c7cb69a0f6
7 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ class PopupMenuDividerDemo extends StatelessWidget {
void showInSnackBar(String value) {
Fluttertoast.showToast(
Fluttertoast.instance.showToast(
msg: value,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.CENTER,