v2.0.0reviews_slider
사용자 리뷰 점수를 수집하기 위해 표정이 변화하는 애니메이션 위젯.
111좋아요 6830일 다운로드130Pub 점수
AndroidiOSWebmacOSWindowsLinux
사용자가 리뷰와 피드백을 남기도록 도와주는 Flutter 애니메이션 위젯
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Animated widget with changing smile to collect user review score
Add reviews_slider: "^1.0.4" in your pubspec.yaml dependencies.
dependencies:
reviews_slider: "^1.0.4"
Import the following package in your dart file
import 'package:reviews_slider/reviews_slider.dart';
Basic Widget
ReviewSlider(
onChange: (int value){
// active value is an int number from 0 to 4, where:
// 0 is the worst review value
// and 4 is the best review value
print(value);
}),
),
| Parameter | Default | Description |
|---|---|---|
| initialValue | 2 | the init value of the slider |
| onChange | Triggered every time when a pointer have changed the value of the slider and is no longer in contact with the screen. | |
| options | ['Terrible', 'Bad', 'Okay', 'Good', 'Great'] | Review titles |
| optionStyle | TextStyle(color: Colors.black) | Text style of review titles |
의존성 목록 3 개
{"sdk":"flutter"}^2.1.0{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗