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,
- 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,
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.minWidth,
this.maxWidth,
this.minHeight,
this.maxHeight,
this.mainAxisAlignment,
this.crossAxisAlignment,
this.direction,
this.isRounded,
this.isCenter,
this.isExpanded,
this.alignment,
this.textStyle,
this.pressEffect,
this.hoverColor,
this.activeColor,
this.color,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.letterSpacing,
this.opacity});