Style class

Constructors

Style({bool? visible, Alignment? alignment, Dimension? width, Dimension? height, EdgeInsets? margin, EdgeInsets? padding, double? opacity, Decoration? foregroundDecoration, Decoration? backgroundDecoration, List<ShapeShadow>? shadows, List<ShapeShadow>? insetShadows, MorphableShapeBorder? shapeBorder, SmoothMatrix4? transform, Alignment? transformAlignment, Alignment? childAlignment, DynamicTextStyle? textStyle, TextAlign? textAlign, Gradient? shaderGradient, ImageFilter? imageFilter, ImageFilter? backdropFilter, SystemMouseCursor? mouseCursor})
Style.fromJson(Map<String, dynamic> map)

Properties

alignment Alignment?
getter/setter pair
backdropFilter ImageFilter?
getter/setter pair
backgroundDecoration Decoration?
getter/setter pair
childAlignment Alignment?
text related
getter/setter pair
foregroundDecoration Decoration?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
height Dimension?
getter/setter pair
imageFilter ImageFilter?
getter/setter pair
insetShadows List<ShapeShadow>?
getter/setter pair
margin EdgeInsets?
getter/setter pair
mouseCursor SystemMouseCursor?
getter/setter pair
opacity double?
getter/setter pair
padding EdgeInsets?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shaderGradient Gradient?
getter/setter pair
shadows List<ShapeShadow>?
getter/setter pair
shapeBorder MorphableShapeBorder?
getter/setter pair
textAlign TextAlign?
getter/setter pair
textStyle DynamicTextStyle?
getter/setter pair
transform SmoothMatrix4?
getter/setter pair
transformAlignment Alignment?
getter/setter pair
visible bool?
getter/setter pair
width Dimension?
getter/setter pair

Methods

copyWith({Alignment? alignment, Dimension? width, Dimension? height, EdgeInsets? margin, EdgeInsets? padding, bool? visible, double? opacity, Decoration? backgroundDecoration, Decoration? foregroundDecoration, List<ShapeShadow>? shadows, List<ShapeShadow>? insetShadows, MorphableShapeBorder? shapeBorder, SmoothMatrix4? transform, Alignment? transformAlignment, Alignment? childAlignment, DynamicTextStyle? textStyle, TextAlign? textAlign, Gradient? shaderGradient, ImageFilter? imageFilter, ImageFilter? backdropFilter, SystemMouseCursor? mouseCursor}) Style
merge(Style? style) Style
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
override