build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Build the widget underneath this widget in the tree

Implementation

@override
Widget build(BuildContext context) => CupertinoSlider(
      value: value(),
      onChanged: enabled() ? (v) => value.value = v : null,
      onChangeStart: onChangeStart,
      onChangeEnd: onChangeEnd,
      min: min,
      max: max,
      divisions: divisions,
      activeColor: activeColor,
      thumbColor: thumbColor,
    );