Style class
Constructors
-
Style.new({bool? visible, Alignment? alignment, Dimension? width, Dimension? height, EdgeInsets? margin, EdgeInsets? padding, double? opacity, BoxDecoration? foregroundDecoration, BoxDecoration? 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, dynamic mouseCursor})
-
-
Style.fromJson(Map<String, dynamic> map)
-
Methods
-
copyWith({Alignment? alignment, Dimension? width, Dimension? height, EdgeInsets? margin, EdgeInsets? padding, bool? visible, double? opacity, BoxDecoration? backgroundDecoration, BoxDecoration? 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, dynamic mouseCursor})
→ Style
-
override
-
merge(Style? style)
→ Style
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveStyle(MediaQueryData data)
→ Style
-
override
-
toJson()
→ Map<String, dynamic>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
Operators
-
operator ==(dynamic other)
→ bool
-
The equality operator.
override