CSS3 constructor

CSS3({
  1. Color? backgroundColor = Colors.transparent,
  2. Color? color,
  3. Map<String, int?>? counterIncrement,
  4. Map<String, int?>? counterReset,
  5. TextDirection? direction,
  6. Display? display,
  7. String? fontFamily,
  8. List<String>? fontFamilyFallback,
  9. List<FontFeature>? fontFeatureSettings,
  10. FontSize? fontSize,
  11. FontStyle? fontStyle,
  12. FontWeight? fontWeight,
  13. Height? height,
  14. LineHeight? lineHeight,
  15. double? letterSpacing,
  16. ListStyleImage? listStyleImage,
  17. ListStyleType? listStyleType,
  18. ListStylePosition? listStylePosition,
  19. EdgeInsets? padding,
  20. Marker? marker,
  21. Margins? margin,
  22. TextAlign? textAlign,
  23. TextDecoration? textDecoration,
  24. Color? textDecorationColor,
  25. TextDecorationStyle? textDecorationStyle,
  26. double? textDecorationThickness,
  27. List<Shadow>? textShadow,
  28. VerticalAlign? verticalAlign,
  29. WhiteSpace? whiteSpace,
  30. Width? width,
  31. double? wordSpacing,
  32. String? before,
  33. String? after,
  34. Border? border,
  35. Alignment? alignment,
  36. Widget? markerContent,
  37. int? maxLines,
  38. TextOverflow? textOverflow,
  39. TextTransform? textTransform = TextTransform.none,
})

Implementation

CSS3({
  this.backgroundColor = Colors.transparent,
  this.color,
  this.counterIncrement,
  this.counterReset,
  this.direction,
  this.display,
  this.fontFamily,
  this.fontFamilyFallback,
  this.fontFeatureSettings,
  this.fontSize,
  this.fontStyle,
  this.fontWeight,
  this.height,
  this.lineHeight,
  this.letterSpacing,
  this.listStyleImage,
  this.listStyleType,
  this.listStylePosition,
  this.padding,
  this.marker,
  this.margin,
  this.textAlign,
  this.textDecoration,
  this.textDecorationColor,
  this.textDecorationStyle,
  this.textDecorationThickness,
  this.textShadow,
  this.verticalAlign,
  this.whiteSpace,
  this.width,
  this.wordSpacing,
  this.before,
  this.after,
  this.border,
  this.alignment,
  this.markerContent,
  this.maxLines,
  this.textOverflow,
  this.textTransform = TextTransform.none,
}) {
  if (alignment == null && (display == Display.block || display == Display.listItem)) {
    alignment = Alignment.centerLeft;
  }
}