QuillToolbarFontFamilyButton constructor
QuillToolbarFontFamilyButton({
- required QuillController controller,
- @Deprecated('Please use the default display text from the options') String? defaultDisplayText,
- QuillToolbarFontFamilyButtonOptions options = const QuillToolbarFontFamilyButtonOptions(),
- Key? key,
Implementation
QuillToolbarFontFamilyButton({
required super.controller,
@Deprecated('Please use the default display text from the options')
this.defaultDisplayText,
super.options = const QuillToolbarFontFamilyButtonOptions(),
super.key,
}) : assert(options.rawItemsMap?.isNotEmpty ?? (true)),
assert(
options.initialValue == null || options.initialValue!.isNotEmpty,
);