FLUTTER ECOSYSTEM

IvanSupervan/filling_slider

IvanSupervan/filling_slider open-source repository details.

채우기 슬라이더 프로젝트 이미지
Stars
11
Forks
2
최근 푸시(UTC)
2021. 5. 13.
프로젝트 상태
활성
Ivan Mogilevsky GitHub avatar
GITHUB User

Ivan Mogilevsky ↗

언어DartHTMLSwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Filling Slider

pub.dev points pub.dev likes pub.dev popularity
This is IOS-like slider widget

Demo

Example gif

How to use

Simple vertical slider
FillingSlider()
Simple horizontal slider
FillingSlider(
  direction: FillingSliderDirection.horizontal
)

Props

You can set initial value of slider in range [0.0, 1.0]

double initialValue
Visual Props

You can change size, direction and color of slider

double width
double height
Color color
Color fillColor
SliderDirection direction
Callbacks Props

There are 2 methods to respond to a change in the value of the slider

Function onChange - Notifies about all slider changes
Function onFinish - Notifies about the end of changes
Child Props
Widget child
Function childBuilder