The various kinds of material in material design. Used to configure the default behavior of Material widgets.
Rounded edges, no color by default (used for MaterialButton buttons).
- canvas → const MaterialType
Rectangle using default theme canvas color.
- card → const MaterialType
Rounded edges, card theme color.
- circle → const MaterialType
A circle, no color by default (used for floating action buttons).
- transparency → const MaterialType
A transparent piece of material that draws ink splashes and highlights.
While the material metaphor describes child widgets as printed on the material itself and do not hide ink effects, in practice the Material widget draws child widgets on top of the ink effects. A Material with type transparency can be placed on top of opaque widgets to show ink effects on top of them.
Prefer using the Ink widget for showing ink effects on top of opaque widgets.
→ const List<
A constant List of the values in this enum, in order of their declaration.