AddTextCompositionStyle constructor

const AddTextCompositionStyle({
  1. required String name,
})

Adds a custom text composition style to the list of used by the user styles. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles getOption("added_text_composition_style_count_max") has been reached

Implementation

const AddTextCompositionStyle({required this.name});