📜  颤振小吃店边距 - Dart 代码示例

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

代码示例2
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!'),
          ),
    );