📜  如何为 Snackbar 添加边距或填充? - 飞镖代码示例

📅  最后修改于: 2022-03-11 14:48:06.783000             🧑  作者: 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),