どうも、ちょげ(@chogetarou)です。
FloatingActionButtonの色を変える方法を紹介します。
方法

FloatingActionButtonの色を変えるには、引数「backgroundColor」を使います。
引数「backgroundColor」に、設定したい色を指定します。
FloatingActionButton(
onPressed: () {},
child: Icon(Icons.add),
backgroundColor: Colors.pink, //色の指定
),

コメント