rectangle_slider_thumb_shape 0.0.2
SDKflutter
Platformandroidioswindowslinuxmacosweb
This package contain rectangle shape for slider.
Package contains rectangle shape for slider.
Usage
SliderTheme(
data: SliderTheme.of(context).copyWith(
thumbShape: const RectSliderThumbShape(
enabledThumbRadius: 4,
),
),
child: Slider(
min: 0,
max: 1,
value: 0.5,
onChanged: (value) {
print('${value}');
},
),
);