Style constructor
Style({
- 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,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- FlexDirection? direction,
- bool? isRounded,
- bool? isCenter,
- bool? isExpanded,
- Alignment? alignment,
- TextStyle? textStyle,
- bool? pressEffect,
- Color? hoverColor,
- Color? activeColor,
Implementation
Style(
{this.px,
this.py,
this.pb,
this.pt,
this.pl,
this.pr,
this.p,
this.m,
this.mx,
this.my,
this.mr,
this.ml,
this.mt,
this.mb,
this.bg,
this.left,
this.right,
this.top,
this.bottom,
this.boxShadow,
this.gradient,
this.border,
this.borderRadius = 0.0,
this.borderRadiusTopLeft = 0.0,
this.borderRadiusTopRight = 0.0,
this.borderRadiusBottomLeft = 0.0,
this.borderRadiusBottomRight = 0.0,
this.height,
this.width,
this.mainAxisAlignment = MainAxisAlignment.start,
this.crossAxisAlignment = CrossAxisAlignment.start,
this.direction,
this.isRounded,
this.isCenter,
this.isExpanded,
this.alignment,
this.textStyle,
this.pressEffect,
this.hoverColor,
this.activeColor});