📜  颤振小吃吧宽度 - Dart 代码示例

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

代码示例1
ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
          behavior: SnackBarBehavior.floating, // default SnackBarBehavior.fixed.
          width: 250.0, // It can not be used if margin is specified.
          content: const Text('Awesome!'),
          ),
    );