RendererDecoration class Null safety

collection of style properties for the RichtextRenderer

Constructors

RendererDecoration({BoxBorder? border, BorderRadiusGeometry? borderRadius, String? label, TextStyle labelStyle = TextConstants.labelStyle, Color defaultColor = TextConstants.defaultColor, EdgeInsets padding = const EdgeInsets.all(8), bool autoScroll = true, double? maxHeight, Color? linkColor, bool? linkUnderline, String overflowIndicator = "...", List<RendererTextProperties> textProperties = const [], TextStyle errorStyle = TextConstants.errorStyle})
const

Properties

autoScroll bool
final
border BoxBorder?
final
borderRadius BorderRadiusGeometry?
final
defaultColor Color
final
errorStyle TextStyle
final
hashCode int
The hash code for this object.
read-onlyinherited
label String?
final
labelStyle TextStyle
final
linkColor Color?
final
linkUnderline bool?
final
maxHeight double?
final
overflowIndicator String
displayed at the end of a shortened message due to length limits
final
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
textProperties List<RendererTextProperties>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited