QuillToolbarFontFamilyButton constructor

QuillToolbarFontFamilyButton({
  1. required QuillController controller,
  2. @Deprecated('Please use the default display text from the options') String? defaultDisplayText,
  3. QuillToolbarFontFamilyButtonOptions options = const QuillToolbarFontFamilyButtonOptions(),
  4. 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,
      );