Style constructor

Style({
  1. double? px,
  2. double? py,
  3. double? pb,
  4. double? pt,
  5. double? pl,
  6. double? pr,
  7. double? p,
  8. double? m,
  9. double? mx,
  10. double? my,
  11. double? mr,
  12. double? ml,
  13. double? mt,
  14. double? mb,
  15. Color? bg,
  16. double? left,
  17. double? right,
  18. double? top,
  19. double? bottom,
  20. BoxShadow? boxShadow,
  21. Gradient? gradient,
  22. Border? border,
  23. double borderRadius = 0.0,
  24. double borderRadiusTopLeft = 0.0,
  25. double borderRadiusTopRight = 0.0,
  26. double borderRadiusBottomLeft = 0.0,
  27. double borderRadiusBottomRight = 0.0,
  28. double? height,
  29. double? width,
  30. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  31. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  32. FlexDirection? direction,
  33. bool? isRounded,
  34. bool? isCenter,
  35. bool? isExpanded,
  36. Alignment? alignment,
  37. TextStyle? textStyle,
  38. bool? pressEffect,
  39. Color? hoverColor,
  40. 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});