Style constructor

Style({
  1. double? width,
  2. double? height,
  3. EdgeInsetsGeometry? margin,
  4. EdgeInsetsGeometry? padding,
  5. Border? border,
  6. int? flex,
  7. TextStyle? textStyle,
  8. Color? backgroundColor,
  9. CrossAxisAlignment? crossAxisAlignment,
  10. MainAxisAlignment? mainAxisAlignment,
  11. MainAxisSize? mainAxisSize,
  12. Alignment? alignment,
  13. Widget? icon,
  14. Widget? rearIcon,
  15. bool? expanded,
  16. Decoration? decoration,
  17. bool? visible,
  18. double? borderRadius,
  19. double? iconMargin,
  20. double? rearIconMargin,
  21. double? gap,
  22. double? lineWidth,
  23. 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});