QuillSimpleViewer constructor

const QuillSimpleViewer({
  1. required QuillController controller,
  2. required bool readOnly,
  3. DefaultStyles? customStyles,
  4. bool truncate = false,
  5. double? truncateScale,
  6. Alignment? truncateAlignment,
  7. double? truncateHeight,
  8. double? truncateWidth,
  9. double scrollBottomInset = 0,
  10. EdgeInsetsGeometry padding = EdgeInsets.zero,
  11. EmbedBuilder? embedBuilder,
  12. Key? key,
})

Implementation

const QuillSimpleViewer({
  required this.controller,
  required this.readOnly,
  this.customStyles,
  this.truncate = false,
  this.truncateScale,
  this.truncateAlignment,
  this.truncateHeight,
  this.truncateWidth,
  this.scrollBottomInset = 0,
  this.padding = EdgeInsets.zero,
  this.embedBuilder,
  Key? key,
})  : assert(truncate ||
          ((truncateScale == null) &&
              (truncateAlignment == null) &&
              (truncateHeight == null) &&
              (truncateWidth == null))),
      super(key: key);