标签: flutter
如何在FAB / FloatingActionButton上方显示SnackBar?
答案 0 :(得分:1)
behavior: SnackBarBehavior.floating
到SnackBar。
final snackbar = SnackBar( content: Text('Contents saved to disk'), behavior: SnackBarBehavior.floating, // <== Added );