UnorderedListItemComponent constructor

const UnorderedListItemComponent({
  1. Key? key,
  2. required GlobalKey<State<StatefulWidget>> componentKey,
  3. required AttributedText text,
  4. required AttributionStyleBuilder styleBuilder,
  5. UnorderedListItemDotBuilder dotBuilder = _defaultUnorderedListItemDotBuilder,
  6. ListItemDotStyle? dotStyle,
  7. int indent = 0,
  8. double indentCalculator(
    1. TextStyle,
    2. int indent
    ) = defaultListItemIndentCalculator,
  9. TextSelection? textSelection,
  10. Color selectionColor = Colors.lightBlueAccent,
  11. bool showCaret = false,
  12. Color caretColor = Colors.black,
  13. bool highlightWhenEmpty = false,
  14. List<Underlines> underlines = const [],
  15. 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);