Style class
Constructors
- Style.new({double? px, double? py, double? pb, double? pt, double? pl, double? pr, double? p, double? m, double? mx, double? my, double? mr, double? ml, double? mt, double? mb, Color? bg, double? left, double? right, double? top, double? bottom, BoxShadow? boxShadow, Gradient? gradient, Border? border, double borderRadius = 0.0, double borderRadiusTopLeft = 0.0, double borderRadiusTopRight = 0.0, double borderRadiusBottomLeft = 0.0, double borderRadiusBottomRight = 0.0, double? height, double? width, double? minWidth, double? maxWidth, double? minHeight, double? maxHeight, MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, FlexDirection? direction, bool? isRounded, bool? isCenter, bool? isExpanded, Alignment? alignment, TextStyle? textStyle, bool? pressEffect, Color? hoverColor, Color? activeColor, Color? color, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? opacity})
Properties
- activeColor → Color?
-
final
- alignment → Alignment?
-
final
- bg → Color?
-
final
- border → Border?
-
final
- borderRadius → double
-
final
- borderRadiusBottomLeft → double
-
final
- borderRadiusBottomRight → double
-
final
- borderRadiusTopLeft → double
-
final
- borderRadiusTopRight → double
-
final
- bottom → double?
-
final
- boxShadow → BoxShadow?
-
final
- color → Color?
-
final
- crossAxisAlignment → CrossAxisAlignment?
-
final
- direction → FlexDirection?
-
final
- fontSize → double?
-
final
- fontStyle → FontStyle?
-
final
- fontWeight → FontWeight?
-
final
- gradient → Gradient?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- hoverColor → Color?
-
final
- isCenter → bool?
-
final
- isExpanded → bool?
-
final
- isRounded → bool?
-
final
- left → double?
-
final
- letterSpacing → double?
-
final
- m → double?
-
final
- mainAxisAlignment → MainAxisAlignment?
-
final
- maxHeight → double?
-
final
- maxWidth → double?
-
final
- mb → double?
-
final
- minHeight → double?
-
final
- minWidth → double?
-
final
- ml → double?
-
final
- mr → double?
-
final
- mt → double?
-
final
- mx → double?
-
final
- my → double?
-
final
- opacity → double?
-
final
- p → double?
-
final
- pb → double?
-
final
- pl → double?
-
final
- pr → double?
-
final
- pressEffect → bool?
-
final
- pt → double?
-
final
- px → double?
-
final
- py → double?
-
final
- right → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
final
- top → double?
-
final
- width → double?
-
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