UEditorBlock constructor
UEditorBlock({
- required UBlockType type,
- URichTextController? controller,
- FocusNode? focusNode,
- String? imageUrl,
- String? imageAlt,
- double? imageWidth,
- TextAlign align = TextAlign.start,
- int indent = 0,
- bool checked = false,
- String? language,
- UTableData? table,
Implementation
UEditorBlock({
required this.type,
this.controller,
this.focusNode,
this.imageUrl,
this.imageAlt,
this.imageWidth,
this.align = TextAlign.start,
this.indent = 0,
this.checked = false,
this.language,
this.table,
}) : id = "b${DateTime.now().microsecondsSinceEpoch}_${_seq++}";