QuillToolbarFontSizeButton constructor

QuillToolbarFontSizeButton({
  1. required QuillController controller,
  2. @Deprecated('Please use the default display text from the options') String? defaultDisplayText,
  3. QuillToolbarFontSizeButtonOptions options = const QuillToolbarFontSizeButtonOptions(),
  4. Key? key,
})

Implementation

QuillToolbarFontSizeButton({
  required super.controller,
  @Deprecated('Please use the default display text from the options')
  this.defaultDisplayText,
  super.options = const QuillToolbarFontSizeButtonOptions(),
  super.key,
})  : assert(options.rawItemsMap?.isNotEmpty ?? true),
      assert(options.initialValue == null ||
          (options.initialValue?.isNotEmpty ?? true));