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

AlertDialogの形を変えるには、引数「shape」を使います。
引数「shape」に形を設定することで、AlertDialogの形を変えることが出来ます。
AlertDialog(
shape: CircleBorder(),
content: Container(
width: 100,
height: 100,
child: Center(
child: Text('Sample'),
),
),
)

コメント