v2.0.0reviews_slider
परिवर्तनशील मुस्कान के साथ एनीमेटेड विजेट उपयोगकर्ता समीक्षा अंक प्राप्त करने के लिए।
111लाइक 6830-दिन डाउनलोड130Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक फ्लटर एनिमेटेड विजेट जो उपयोगकर्ताओं को समीक्षा और प्रतिक्रिया छोड़ने में मदद करने के लिए बनाया गया है
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री 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 ↗