shape property
The shape of this dialog's border.
Defines the dialog's Material.shape.
The default shape is a RoundedRectangleBorder with a radius of 4.0
Implementation
@override
ShapeBorder? get shape => const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(20)),
);