mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-08-06 00:49:46 +08:00
fix:fluttetToast backHome
This commit is contained in:
@ -24,7 +24,7 @@ class _PopupMenuButtonDemoState extends State<PopupMenuButtonDemo> {
|
||||
}
|
||||
|
||||
void showInSnackBar(String value) {
|
||||
Fluttertoast.showToast(
|
||||
Fluttertoast.instance.showToast(
|
||||
msg: value,
|
||||
toastLength: Toast.LENGTH_SHORT,
|
||||
gravity: ToastGravity.CENTER,
|
||||
|
Reference in New Issue
Block a user