Style constructor
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,
Implementation
Style(
{this.width,
this.height,
this.margin,
this.padding,
this.border,
this.flex,
this.textStyle,
this.backgroundColor,
this.crossAxisAlignment,
this.mainAxisAlignment,
this.mainAxisSize,
this.alignment,
this.icon,
this.rearIcon,
this.expanded,
this.decoration,
this.visible,
this.borderRadius,
this.iconMargin,
this.rearIconMargin,
this.gap,
this.lineWidth,
this.lineColor});