📜  我如何将浮动操作按钮移动到中心颤动 - Dart 代码示例

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

代码示例1
Scaffold(
      floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.add),
        onPressed: (){},
      ),
    );