type property Null safety

MaterialType type
final

The kind of material to show (e.g., card or canvas). This affects the shape of the widget, the roundness of its corners if the shape is rectangular, and the default color.

Implementation

final MaterialType type;