Styles constructor

const Styles({
  1. String display = 'display',
  2. String flexDirection = 'col',
  3. dynamic backgroundColor,
  4. String? backgroundImage,
  5. dynamic width,
  6. dynamic height,
  7. dynamic color,
  8. String? justifyContent,
  9. String? alignItems,
  10. dynamic borderRadius,
  11. dynamic marginLeft,
  12. dynamic marginTop,
  13. dynamic marginRight,
  14. dynamic marginBottom,
  15. dynamic paddingLeft,
  16. dynamic paddingTop,
  17. dynamic paddingRight,
  18. dynamic paddingBottom,
  19. dynamic left,
  20. dynamic top,
  21. dynamic right,
  22. dynamic bottom,
  23. String position = 'rel',
  24. dynamic maxHeight,
  25. dynamic maxWidth,
  26. dynamic fontSize,
  27. String? textOverflow,
  28. dynamic fontWeight,
  29. String? fontFamily,
  30. String? whiteSpace,
  31. dynamic lineHeight,
  32. String? textDecoration,
  33. int? lines,
  34. String? boxSizing,
  35. dynamic borderColor,
  36. String borderStyle = 'solid',
  37. dynamic borderWidth = 1,
  38. double opacity = 1.0,
  39. dynamic boxShadow,
  40. String? textAlign,
  41. dynamic minHeight,
  42. dynamic minWidth,
  43. double? letterSpacing,
  44. double? borderBottomLeftRadius,
  45. double? borderBottomRightRadius,
  46. dynamic borderBottomColor,
  47. String borderBottomStyle = 'solid',
  48. dynamic borderBottomWidth,
  49. dynamic borderLeftColor,
  50. String borderLeftStyle = 'solid',
  51. dynamic borderLeftWidth,
  52. dynamic borderRightColor,
  53. String borderRightStyle = 'solid',
  54. dynamic borderRightWidth,
  55. dynamic borderTopColor,
  56. String borderTopStyle = 'solid',
  57. dynamic borderTopWidth,
  58. dynamic borderTopRightRadius,
  59. dynamic borderTopLeftRadius,
  60. int? flex,
  61. String? overflowX,
  62. String? overflowY,
  63. dynamic transform,
  64. String? flexWrap,
  65. dynamic flexWrapSpacing,
  66. dynamic flexWrapRunSpacing,
  67. dynamic backgroundSize,
  68. dynamic margin,
  69. dynamic padding,
  70. dynamic elevation,
  71. int zIndex = 1,
  72. int? gridCount,
  73. double? gridChildAspectRatio,
  74. double? gridCrossAxisSpacing,
  75. double? gridMainAxisSpacing,
  76. bool scrollBar = true,
})

Implementation

const Styles(
    {this.display = 'display',
    this.flexDirection = 'col',
    this.backgroundColor,
    this.backgroundImage,
    this.width,
    this.height,
    this.color,
    this.justifyContent,
    this.alignItems,
    this.borderRadius,
    this.marginLeft,
    this.marginTop,
    this.marginRight,
    this.marginBottom,
    this.paddingLeft,
    this.paddingTop,
    this.paddingRight,
    this.paddingBottom,
    this.left,
    this.top,
    this.right,
    this.bottom,
    this.position = 'rel',
    this.maxHeight,
    this.maxWidth,
    this.fontSize,
    this.textOverflow,
    this.fontWeight,
    this.fontFamily,
    this.whiteSpace,
    this.lineHeight,
    this.textDecoration,
    this.lines,
    this.boxSizing,
    this.borderColor,
    this.borderStyle = 'solid',
    this.borderWidth = 1,
    this.opacity = 1.0,
    this.boxShadow,
    this.textAlign,
    this.minHeight,
    this.minWidth,
    this.letterSpacing,
    this.borderBottomLeftRadius,
    this.borderBottomRightRadius,
    this.borderBottomColor,
    this.borderBottomStyle = 'solid',
    this.borderBottomWidth,
    this.borderLeftColor,
    this.borderLeftStyle = 'solid',
    this.borderLeftWidth,
    this.borderRightColor,
    this.borderRightStyle = 'solid',
    this.borderRightWidth,
    this.borderTopColor,
    this.borderTopStyle = 'solid',
    this.borderTopWidth,
    this.borderTopRightRadius,
    this.borderTopLeftRadius,
    this.flex,
    this.overflowX,
    this.overflowY,
    this.transform,
    this.flexWrap,
    this.flexWrapSpacing,
    this.flexWrapRunSpacing,
    this.backgroundSize,
    this.margin,
    this.padding,
    this.elevation,
    this.zIndex = 1,
    this.gridCount,
    this.gridChildAspectRatio,
    this.gridCrossAxisSpacing,
    this.gridMainAxisSpacing,
    this.scrollBar = true});