sliderFontSize property
A custom slider widget for the font-size.
editorState
- The current state of the editor.rebuildStream
- A Stream that triggers the widget to rebuild.value
- The current value of the slider.onChanged
- A function to handle changes to the slider's value.onChangeEnd
- A function to handle the end of slider value changes.
Returns a ReactiveCustomWidget that provides a custom slider.
Example: sliderFontSize: (editorState, rebuildStream, value, onChanged, onChangeEnd) { return ReactiveCustomWidget( stream: rebuildStream, builder: (_) => Slider( onChanged: onChanged, onChangeEnd: onChangeEnd, value: value, activeColor: Colors.blue.shade200, ), ); },
Implementation
final CustomSlider<TextEditorState>? sliderFontSize;