Skip to content

covelline/flutter_score_slider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Score Slider

Simple & customizable Flutter slider widget for score selections.

How to use

Add flutter_score_slider to your project dependencies

dependencies:
  flutter_score_slider: ^1.0.0

And install it using flutter packages get on your project folder. After that, just import the module and use it:

import 'package:flutter_score_slider/flutter_score_slider.dart';

// ...

ScoreSlider(
  maxScore: 10,
  onScoreChanged: (newScore) {
    setState(() {
      _currentScore = newScore;
      });
    },
  )

Customize colors

flutter_score_slider supports Flutter's themes and gets its look and feel by the app's default Theme style. If you want to change the colors of the widget you can use the following parameters to set your own colors:

Parameter Description
backgroundColor Set the background color
thumbColor Set the thumb color (Selected value)
scoreDotColor Set the score values "dots" color

Change Log

See Change Log page.

Contribution

Please file feature requests and bugs at the issue tracker.

Author

Tomer Shalom

About

flutter score slider component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 92.8%
  • Swift 5.1%
  • Kotlin 1.6%
  • Objective-C 0.5%