📜  flutter flotingactionbutton 位置 - Dart 代码示例

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

代码示例2
Scaffold(
    floatingActionButton: FloatingActionButton(
        onPressed: () {
          // Add your onPressed code here!
        },
        child: const Icon(Icons.navigation),
      ),
      //BUTTON LOCATION
      floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
);