TextBlockItem constructor

TextBlockItem({
  1. String? key,
  2. List<Span> children = const <Span>[],
  3. String style = 'normal',
  4. List<MarkDef> markDefs = const <MarkDef>[],
  5. ListItemType? listItem,
  6. int? level,
  7. int? listItemIndex,
})

Implementation

TextBlockItem({
  String? key,
  this.children = const <Span>[],
  this.style = 'normal',
  this.markDefs = const <MarkDef>[],
  this.listItem,
  this.level,
  this.listItemIndex,
}) : key = key ?? nanoid();