ItemStyle class

Constructors

ItemStyle({Color? color, Color? shadowColor, ShapeBorder? shape, bool? borderOnForeground, Clip? clipBehavior, Duration? animationDuration, MaterialType? type, double? elevation, BorderRadiusGeometry? borderRadius, TextStyle? textStyle})
const

Properties

animationDuration Duration?
Defines the duration of animated changes for shape, elevation, shadowColor and the elevation overlay if it is applied.
final
borderOnForeground bool?
Whether to paint the shape border in front of the child.
final
borderRadius BorderRadiusGeometry?
If non-null, the corners of this box are rounded by this BorderRadiusGeometry value.
final
clipBehavior Clip?
The content will be clipped (or not) according to this option.
final
color Color?
The color to paint the material.
final
elevation double?
The z-coordinate at which to place this material relative to its parent.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
The color to paint the shadow below the material.
final
shape ShapeBorder?
Defines the material's shape as well its shadow.
final
textStyle TextStyle?
The typographical style to use for text within this material.
final
type MaterialType?
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.
final

Methods

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