StyleCSS constructor

const StyleCSS({
  1. String? textData,
  2. AlignContentCSS? alignContent,
  3. AlignItemsCSS? alignItems,
  4. AlignSelfCSS? alignSelf,
  5. BackgroundCSS? background,
  6. ColorCSS? backgroundColor,
  7. String? backgroundImage,
  8. ImagePositionCSS? backgroundPosition,
  9. ImageRepeatCSS? backgroundRepeat,
  10. ImageSizeCSS? backgroundSize,
  11. BorderCSS? border,
  12. BorderCSS? borderBottom,
  13. BorderCollapseCSS? borderCollapse,
  14. BorderCSS? borderLeft,
  15. BorderRadiusCSS? borderRadius,
  16. BorderCSS? borderRight,
  17. BorderCSS? borderTop,
  18. SizeCSS? bottom,
  19. BoxShadowCSS? boxShadow,
  20. BoxSizingCSS? boxSizing,
  21. ColorCSS? color,
  22. ContentCSS? content,
  23. CursorCSS? cursor,
  24. PointerEventsCSS? pointerEvents,
  25. PositionCSS? position,
  26. DisplayCSS? display,
  27. FilterCSS? filter,
  28. String? fontFamily,
  29. FlexDirectionCSS? flexDirection,
  30. FlexCSS? flex,
  31. SizeCSS? flexBasis,
  32. num? flexGrow,
  33. num? flexShrink,
  34. FlexWrapCSS? flexWrap,
  35. FloatCSS? float,
  36. SizeCSS? fontSize,
  37. FontWeightCSS? fontWeight,
  38. SizeCSS? height,
  39. SizeCSS? lineHeight,
  40. JustifyContentCSS? justifyContent,
  41. SizeCSS? left,
  42. EdgeInsetsCSS? margin,
  43. SizeCSS? marginBottom,
  44. SizeCSS? marginLeft,
  45. SizeCSS? marginRight,
  46. SizeCSS? marginTop,
  47. MaskCSS? mask,
  48. String? maskImage,
  49. ImagePositionCSS? maskPosition,
  50. ImageRepeatCSS? maskRepeat,
  51. ImageSizeCSS? maskSize,
  52. SizeCSS? maxHeight,
  53. SizeCSS? maxWidth,
  54. SizeCSS? minHeight,
  55. SizeCSS? minWidth,
  56. ObjectFitCSS? objectFit,
  57. ImagePositionCSS? objectPosition,
  58. double? opacity,
  59. BorderCSS? outline,
  60. OverflowCSS? overflow,
  61. OverflowCSS? overflowX,
  62. OverflowCSS? overflowY,
  63. OverflowWrapCSS? overflowWrap,
  64. EdgeInsetsCSS? padding,
  65. SizeCSS? right,
  66. TextAlignCSS? textAlign,
  67. TextDecorationCSS? textDecoration,
  68. TextTransformCSS? textTransform,
  69. TransitionCSS? transition,
  70. PropertyCSS? transitionProperty,
  71. DurationCSS? transitionDuration,
  72. DurationCSS? transitionDelay,
  73. TimingFunctionCSS? transitionTimingFunction,
  74. SizeCSS? top,
  75. UserSelectCSS? userSelect,
  76. WhiteSpaceCSS? whiteSpace,
  77. SizeCSS? width,
  78. int? zIndex,
  79. List<PropertyCSS> important = const [],
})

Implementation

const StyleCSS({
  this.textData,
  this.alignContent,
  this.alignItems,
  this.alignSelf,
  this.background,
  this.backgroundColor,
  this.backgroundImage,
  this.backgroundPosition,
  this.backgroundRepeat,
  this.backgroundSize,
  this.border,
  this.borderBottom,
  this.borderCollapse,
  this.borderLeft,
  this.borderRadius,
  this.borderRight,
  this.borderTop,
  this.bottom,
  this.boxShadow,
  this.boxSizing,
  this.color,
  this.content,
  this.cursor,
  this.pointerEvents,
  this.position,
  this.display,
  this.filter,
  this.fontFamily,
  this.flexDirection,
  this.flex,
  this.flexBasis,
  this.flexGrow,
  this.flexShrink,
  this.flexWrap,
  this.float,
  this.fontSize,
  this.fontWeight,
  this.height,
  this.lineHeight,
  this.justifyContent,
  this.left,
  this.margin,
  this.marginBottom,
  this.marginLeft,
  this.marginRight,
  this.marginTop,
  this.mask,
  this.maskImage,
  this.maskPosition,
  this.maskRepeat,
  this.maskSize,
  this.maxHeight,
  this.maxWidth,
  this.minHeight,
  this.minWidth,
  this.objectFit,
  this.objectPosition,
  this.opacity,
  this.outline,
  this.overflow,
  this.overflowX,
  this.overflowY,
  this.overflowWrap,
  this.padding,
  this.right,
  this.textAlign,
  this.textDecoration,
  this.textTransform,
  this.transition,
  this.transitionProperty,
  this.transitionDuration,
  this.transitionDelay,
  this.transitionTimingFunction,
  this.top,
  this.userSelect,
  this.whiteSpace,
  this.width,
  this.zIndex,
  this.important = const [],
});