FSliderManagedControl constructor

const FSliderManagedControl({
  1. FSliderController? controller,
  2. FSliderValue? initial,
  3. FSliderInteraction? interaction,
  4. ValueChanged<FSliderValue>? onChange,
})

Implementation

const FSliderManagedControl({this.controller, this.initial, this.interaction, this.onChange})
  : assert(
      controller == null || initial == null,
      'Cannot provide both controller and initial. Pass initial value to the controller instead.',
    ),
    assert(
      controller == null || interaction == null,
      'Cannot provide both controller and interaction. Pass interaction to the controller instead.',
    ),
    super._();