v1.0.1+hotfix.1
flutter_dropdown
यह फ्लटर फ्रेमवर्क के ड्रॉपडाउन बटन को कम जटिल बनाता है
47लाइक 4430-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
यह फ्लटर फ्रेमवर्क के जटिल ड्रॉपडाउन बटन को कम जटिल बनाता है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
This does make Flutter Framework complicated dropdown button less complicated.
Simple widget:
DropDown(
items: ["Male", "Female", "Other"],
hint: Text("Male"),
icon: Icon(
Icons.expand_more,
color: Colors.blue,
),
onChanged: print,
),
With custom dropdown item widget:
DropDown<String>(
items: <String>["Male", "Female", "Other"],
icon: Icon(
Icons.expand_more,
color: Colors.blue,
),
customWidgets: <Widget>[
Row(
children: <Widget>[
Text("Male"),
CircleAvatar(
backgroundImage: NetworkImage(
"https://raw.githubusercontent.com/rrousselGit/provider/master/resources/expanded_devtools.jpg"),
),
],
),
Row(
children: <Widget>[
Text("Female"),
CircleAvatar(
backgroundImage: NetworkImage(
"https://raw.githubusercontent.com/rrousselGit/provider/master/resources/expanded_devtools.jpg"),
),
],
),
Row(
children: <Widget>[
Text("Other"),
CircleAvatar(
backgroundImage: NetworkImage(
"https://raw.githubusercontent.com/rrousselGit/provider/master/resources/expanded_devtools.jpg"),
),
],
)
],
hint: Text("Select Gender"),
onChanged: print,
),
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗