checkbox_formfield
Flutter पैकेज
- स्टार
- 3
- फ़ोर्क
- 9
- अंतिम पुश (UTC)
- 30 मई 2024
- प्रोजेक्ट स्थिति
- सक्रिय
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
checkbox_formfield
A few kinds of checkbox that can be used as FormField
Getting Started
This library currently has two Widgets.
- CheckboxListTileFormField: Use CheckboxListTile in Form
- CheckboxIconFormField: Use two Icons as if they consist a checkbox and also in Form
Demo
Usage sample
Please check example/lib in this library.
Specifications
CheckboxListTileFormField
| Parameter | Description |
|---|---|
| key | FormField.key |
| title | CheckboxListTile.title |
| context | Provide a default color to errorColor |
| onSaved | FormField.onSaved |
| validator | FormField.validator |
| initialValue | FormField.initialValue |
| autovalidateMode | FormField.autovalidateMode |
| enabled | Whether the checkbox is enabled |
| dense | CheckboxListTile.dense |
| errorColor | Color of error message Default: Theme.errorColor (context is given), Colors.red (otherwise) |
| activeColor | CheckboxListTile.activeColor |
| checkColor | CheckboxListTile.checkColor |
| controlAffinity | CheckboxListTile.controlAffinity |
| secondary | CheckboxListTile.secondary |
| contentPadding | CheckboxListTile.contentPadding |
| autofocus | CheckboxListTile.autofocus |
CheckboxIconFormField
| Parameter | Description |
|---|---|
| key | FormField.key |
| context | Provide a default color to errorColor |
| onSaved | FormField.onSaved |
| initialValue | FormField.initialValue |
| autovalidateMode | FormField.autovalidateMode |
| enabled | Whether the checkbox is enabled |
| trueIcon | IconData if true Default: Icons.check |
| falseIcon | IconData if false Default: Icons.check_box_outline_blank |
| trueIconColor | Color if true Default: Theme.colorScheme.secondary (if context is given), Theme.iconTheme.color (otherwise) |
| falseIconColor | Color if false Default: Theme.iconTheme.color |
| disabledColor | Color if disabled Default: Theme.disabledColor |
| padding | paddingDefault: 24.0 |
| iconSize | Icon.size |
भाषाएँDartKotlinSwiftObjective-C
उपयोग की गई निर्भरताएँ
निर्भरता सूची 2 आइटम
- flutter
{"sdk":"flutter"} - flutter_testडेवलपमेंट
{"sdk":"flutter"}
अपने प्रोजेक्ट के लिए रिपॉज़िटरी कैसे चुनें?
उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
- नाम, लेखक या विवरण से खोजें और तकनीकी विषय से परिणाम सीमित करें।
- स्टार, फ़ोर्क और हाल के पुश की तुलना करें। स्टार रुचि दर्शाते हैं, गुणवत्ता की गारंटी नहीं।
- उपयोग से पहले GitHub पर README, लाइसेंस और Issues जाँचें।
स्रोत और रखरखाव
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
