UEpubBlock constructor

const UEpubBlock({
  1. required UEpubBlockKind kind,
  2. List<UEpubSpan> spans = const <UEpubSpan>[],
  3. String? imageHref,
  4. int level = 0,
  5. TextAlign? align,
  6. double indent = 0,
  7. double marginTop = 0,
  8. double marginBottom = 0,
  9. String listMarker = "",
  10. String? anchorId,
  11. bool rtl = false,
  12. List<List<UEpubSpan>> cells = const <List<UEpubSpan>>[],
})

Implementation

const UEpubBlock({
  required this.kind,
  this.spans = const <UEpubSpan>[],
  this.imageHref,
  this.level = 0,
  this.align,
  this.indent = 0,
  this.marginTop = 0,
  this.marginBottom = 0,
  this.listMarker = "",
  this.anchorId,
  this.rtl = false,
  this.cells = const <List<UEpubSpan>>[],
});