arc_slider 1.0.0 copy "arc_slider: ^1.0.0" to clipboard
arc_slider: ^1.0.0 copied to clipboard

A slider with a shape of arc

Arc Slider #

Arc slider for Flutter.

Example 01

Getting Started #

Installation #

Add


arc_slider : ^lastest_version

to your pubspec.yaml, and run

flutter packages get

in your project's root directory.

Basic Usage #

Import it to your project file

import 'package:arc_slider/arc_slider.dart';

And add it in its most basic form like it:

final slider = ArcSlider(
                      trackWidth: 14,
                      trackColor:Colors.red.
                      onChange : (double value) {
                        print(value);
                      });

ArcSlider parameters #

Parameter Default Description
min double 0 The minimum value the user can select. Must be less than or equal to max.
max double 100 The maximum value the user can select. Must be greater than or equal to min.
onChange OnChange(double value) Called during a drag when the user is selecting a new value for the slider by dragging.

ArcSlider width parameters #

Parameter Default Description
trackWidth double 22 The width of the slider's track.
progressBarWidth double 22 The width of the slider's progress bar.
thumbsize double 44 The size of the slider's thumb.

Arc slider color parameters #

Parameter Default Description
trackColor Color white with opacity The color of the slider's track.
fillColor Color black The color of the slider's fill bar.
dotColor Color black The color of the slider's dot.
thumbColor Color black The color of the slider's thumb.
9
likes
20
pub points
8%
popularity

Publisher

unverified uploader

A slider with a shape of arc

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on arc_slider