RendererDecoration constructor Null safety

const RendererDecoration(
  1. {BoxBorder? border,
  2. BorderRadiusGeometry? borderRadius,
  3. String? label,
  4. TextStyle labelStyle = TextConstants.labelStyle,
  5. Color defaultColor = TextConstants.defaultColor,
  6. EdgeInsets padding = const EdgeInsets.all(8),
  7. bool autoScroll = true,
  8. double? maxHeight,
  9. Color? linkColor,
  10. bool? linkUnderline,
  11. String overflowIndicator = "...",
  12. List<RendererTextProperties> textProperties = const [],
  13. TextStyle errorStyle = TextConstants.errorStyle}
)

Implementation

const RendererDecoration({
  this.border,
  this.borderRadius,
  this.label,
  this.labelStyle = TextConstants.labelStyle,
  this.defaultColor = TextConstants.defaultColor,
  this.padding = const EdgeInsets.all(8),
  this.autoScroll = true,
  this.maxHeight,
  this.linkColor,
  this.linkUnderline,
  this.overflowIndicator = "...",
  this.textProperties = const [],
  this.errorStyle = TextConstants.errorStyle,
});