UnorderedListItemComponent constructor
const
UnorderedListItemComponent({
- Key? key,
- required GlobalKey<
State< componentKey,StatefulWidget> > - required AttributedText text,
- required AttributionStyleBuilder styleBuilder,
- UnorderedListItemDotBuilder dotBuilder = _defaultUnorderedListItemDotBuilder,
- ListItemDotStyle? dotStyle,
- int indent = 0,
- double indentCalculator() = defaultListItemIndentCalculator,
- TextSelection? textSelection,
- Color selectionColor = Colors.lightBlueAccent,
- bool showCaret = false,
- Color caretColor = Colors.black,
- bool highlightWhenEmpty = false,
- List<
Underlines> underlines = const [], - bool showDebugPaint = false,
Implementation
const UnorderedListItemComponent({
Key? key,
required this.componentKey,
required this.text,
required this.styleBuilder,
this.dotBuilder = _defaultUnorderedListItemDotBuilder,
this.dotStyle,
this.indent = 0,
this.indentCalculator = defaultListItemIndentCalculator,
this.textSelection,
this.selectionColor = Colors.lightBlueAccent,
this.showCaret = false,
this.caretColor = Colors.black,
this.highlightWhenEmpty = false,
this.underlines = const [],
this.showDebugPaint = false,
}) : super(key: key);