MaterialModifier class

WidgetModifier for Material widget.

Implemented types

Constructors

MaterialModifier({Key? key, MaterialType type = MaterialType.canvas, double elevation = 0.0, Color? color, Color? shadowColor, Color? surfaceTintColor, TextStyle? textStyle, BorderRadiusGeometry? borderRadius, ShapeBorder? shape, bool borderOnForeground = true, Clip clipBehavior = Clip.none, Duration animationDuration = kThemeChangeDuration})

Properties

animationDuration Duration
final
borderOnForeground bool
final
borderRadius BorderRadiusGeometry?
final
clipBehavior Clip
final
color Color?
final
elevation double
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
final
shape ShapeBorder?
final
surfaceTintColor Color?
final
textStyle TextStyle?
final
type MaterialType
final

Methods

body(Widget content) Material
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited