📜  Flutter中如何改变snackbar的内边距 - Dart代码示例

📅  最后修改于: 2022-03-11 14:48:05.736000             🧑  作者: Mango

代码示例1
behavior: SnackBarBehavior.floating,
margin: const EdgeInsets.fromLTRB(15.0, 5.0, 15.0, 10.0), //It can not be used if width is specified.
padding: const EdgeInsets.all(16.0),