react_slider_shape 0.0.2 copy "react_slider_shape: ^0.0.2" to clipboard
react_slider_shape: ^0.0.2 copied to clipboard

A new Flutter package.

react_slider_shape #

A new Flutter package.

Getting Started #

you can customize slider theme in slider overlay shape and slider thumb shape using this package.

Example #

@override
  Widget build(BuildContext context) {
    return SliderTheme(
      data: SliderThemeData(
          overlayColor: Colors.pinkAccent[100],
          overlayShape: SliderOverlayReact(overlayRadius: 30),
          thumbColor: Colors.pink,
          trackHeight: 10,
          disabledThumbColor: Colors.amber,
          activeTrackColor: Colors.pinkAccent,
          inactiveTrackColor: Colors.pinkAccent[100].withOpacity(.5),
          thumbShape: CustomSliderThumbReact(
              disabledThumbRadius: 30, enabledThumbRadius: 14),
          valueIndicatorColor: Colors.white),
      child: Slider(
          value: value,
          onChanged: (value) {
            setState(() {
              this.value = value;
            });
          }),
    );
  }
2
likes
10
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on react_slider_shape