QuillSimpleViewer constructor
const
QuillSimpleViewer({
- required QuillController controller,
- required bool readOnly,
- DefaultStyles? customStyles,
- bool truncate = false,
- double? truncateScale,
- Alignment? truncateAlignment,
- double? truncateHeight,
- double? truncateWidth,
- double scrollBottomInset = 0,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- EmbedBuilder? embedBuilder,
- 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);