EditorTextStyleControl constructor

const EditorTextStyleControl({
  1. Key? key,
  2. required Set<String> selected,
  3. required ValueChanged<Set<String>>? onChanged,
  4. required String translate(
    1. String
    ),
  5. Set<String> available = const {'bold', 'italic', 'underline'},
  6. bool showUnderline = true,
})

Implementation

const EditorTextStyleControl({
  super.key,
  required this.selected,
  required this.onChanged,
  required this.translate,
  this.available = const {'bold', 'italic', 'underline'},
  this.showUnderline = true,
});