Style class
Constructors
- Style({double? width, double? height, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Border? border, int? flex, TextStyle? textStyle, Color? backgroundColor, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, MainAxisSize? mainAxisSize, Alignment? alignment, Widget? icon, Widget? rearIcon, bool? expanded, Decoration? decoration, bool? visible, double? borderRadius, double? iconMargin, double? rearIconMargin, double? gap, double? lineWidth, Color? lineColor})
Properties
- alignment → Alignment?
-
final
- backgroundColor → Color?
-
final
- border → Border?
-
final
- borderRadius → double?
-
final
- crossAxisAlignment → CrossAxisAlignment?
-
final
- decoration → Decoration?
-
final
- expanded → bool?
-
final
- flex → int?
-
final
- gap → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- icon → Widget?
-
final
- iconMargin → double?
-
final
- lineColor → Color?
-
final
- lineWidth → double?
-
final
- mainAxisAlignment → MainAxisAlignment?
-
final
- mainAxisSize → MainAxisSize?
-
final
- margin → EdgeInsetsGeometry?
-
final
- padding → EdgeInsetsGeometry?
-
final
- rearIcon → Widget?
-
final
- rearIconMargin → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
final
- visible → bool?
-
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