checkbox_formfield
Flutter-Paket
- Sterne
- 3
- Forks
- 9
- Letzter Push (UTC)
- 30.05.2024
- Projektstatus
- Aktiv
Original-README
Englischer Projektschnappschuss. Aktuelle Inhalte auf 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 |
SprachenDartKotlinSwiftObjective-C
Verwendete Abhängigkeiten
Abhängigkeiten 2 Einträge
- flutter
{"sdk":"flutter"} - flutter_testEntwicklung
{"sdk":"flutter"}
Wie wähle ich ein passendes Repository?
Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
- Nach Name, Autor oder Beschreibung suchen und nach Thema eingrenzen.
- Sterne, Forks und letzte Pushes vergleichen. Sterne zeigen Interesse, garantieren aber keine Qualität.
- Vor der Nutzung README, Lizenz und Issues auf GitHub prüfen.
Quellen und Pflege
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- kskdmn/checkbox_formfield · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Verzeichnis gepflegt von Ducafecat ↗
