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

AlertDialogの影の大きさを変えるには、引数「elevation」を使います。
「elevation」に影の大きさを数値で指定します。
AlertDialog(
elevation: 10, //影の大きさ
title: Text('Alert'),
content: Text('Sample'),
)

どうも、ちょげ(@chogetarou)です。
AlertDialogの影のサイズを変える方法を紹介します。
AlertDialogの影の大きさを変えるには、引数「elevation」を使います。
「elevation」に影の大きさを数値で指定します。
AlertDialog(
elevation: 10, //影の大きさ
title: Text('Alert'),
content: Text('Sample'),
)
コメント