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

AlertDialogの影を削除するには、引数「elevation」に「0」を指定します。
AlertDialog(
elevation: 0,
title: Text('Alert'),
content: Text('This is sample.'),
)

どうも、ちょげ(@chogetarou)です。
AlertDialogの影を削除する方法を紹介します。
AlertDialogの影を削除するには、引数「elevation」に「0」を指定します。
AlertDialog(
elevation: 0,
title: Text('Alert'),
content: Text('This is sample.'),
)
コメント