flutter_range_slider
Flutter용 두 손가락을 사용하는 마테리얼 디자인 범위 슬라이더로 범위 선택을 허용합니다
Flutter용 RangeSlider 위젯
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
An extension of the Flutter Material Slider to allow selection of a range of values via 2 thumbs.
Flutter RangeSliderA full explanation on how to build such Widget may be found on my blog:
You should ensure that you add the following dependency in your Flutter project.
dependencies:
flutter_range_slider: "^1.5.0"
You should then run flutter packages upgrade or update your packages in IntelliJ.
In your Dart code, to use it:
import 'package:flutter_range_slider/flutter_range_slider.dart' as frs;
IMPORTANT NOTE
As of version 1.7, Flutter Framework also has its own RangeSlider. If you want to keep working with this library, you need to import the package, using an alias e.g. frs. Then, your need to prefix both RangeSlider and RangeSliderCallback with this alias (frs.RangeSlider and frs.RangeSliderCallback)
An example can be found in the example folder. Check it out.