どうも、ちょげ(@chogetarou)です。
Scaffoldの背景色を設定する方法を紹介します。
方法

Scaffoldの背景色を設定するには、引数「backgroundColor」を使います。
具体的には、Scaffoldの引数「backgroundColor」に背景色を指定します。
Scaffold(
backgroundColor: /*背景色*/,
)
引数「backgroundColor」を使えば、Scaffoldの背景色を設定することが出来ます。
使用例
以下は、使用例です。

@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.blue,
body: Center(
child: Text(
'Hello Flutter',
style: TextStyle(color: Colors.white),
),
),
);
}

[Flutter]AppBarの形状を変えるには?
AppBarの形を変えるには、どうしたらいいのでしょうか?

[Flutter]AppBarの下にプログレスバーを表示する方法
AppBarの下にプログレスバーを表示するには、どうしたらいいのでしょうか?

[Flutter]AppBarにポップアップメニューを表示するには?
AppBarにポップアップメニュー(…)を表示するには、どうしたらいいのでしょうか?

[Flutter]AppBarのforegroundColorを使うには?
AppBarの引数「foregroundColor」で色を指定しても、何も変化がない。そういう人に向けて、AppBarのforegroundColorを使う方法を解説します。
コメント