The various kinds of material in material design. Used to configure the default behavior of Material widgets.
See also:
- Material, in particular Material.type
- kMaterialEdges
Constants
-
Rounded edges, no color by default (used for MaterialButton buttons).
const MaterialType(3) - canvas → MaterialType
-
Infinite extent using default theme canvas color.
const MaterialType(0) - card → MaterialType
-
Rounded edges, card theme color.
const MaterialType(1) - circle → MaterialType
-
A circle, no color by default (used for floating action buttons).
const MaterialType(2) - transparency → MaterialType
-
A transparent piece of material that draws ink splashes and highlights.
const MaterialType(4) - values → List<MaterialType>
-
A constant List of the values in this enum, in order of their declaration.
const List<MaterialType>
Properties
- index → int
-
read-only
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited