HabiburRehman38/flutter_custom_select
Flutter-Custom-Selector-Dart-Paket mit toller Benutzeroberfläche.
- Stars
- 3
- Forks
- 8
- Letzter Push (UTC)
- 21.03.2023
- Projektstatus
- Aktiv
Verwendete Abhängigkeiten
Abhängigkeiten 3 Einträge
- flutter
{"sdk":"flutter"} - flutter_testEntwicklung
{"sdk":"flutter"} - flutter_lintsEntwicklung
^1.0.0
Original-README
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
Projekt-README ein-/ausklappen
Multi Select Flutter
FLutter Custom Selector is a package for creating single-select as well ass multi-select widgets with an awesome and unique user interface.
| https://djku7spo6dfd0.cloudfront.net/public/messageImages/image_1658199970YpK03nPdty6.gif Single Selection |
https://djku7spo6dfd0.cloudfront.net/public/messageImages/image_1658200005uuJ8hq27IvK.gif Multi Selection |
|---|
Features
- Supports FormField features like validator.
- Awesome default design.
- BottomSheet widget.
- Make your multi selection awesome.
- All selection field is enabled in multi selection field.
Usage
CustomSingleSelectField
https://djku7spo6dfd0.cloudfront.net/public/messageImages/image_1658199970YpK03nPdty6.gifThis widget provide an GestureDetector which open the bottom sheet and are equipped with FormField features. You can customize it using the provided parameters.
To store the selected values, you can use the onSelectionDone parameter.
CustomSingleSelectField<String>(
items: dataString,
title: "Country",
onSelectionDone: (value){
selectedString = value;
setState(() {});
},
itemAsString: (item)=>item,
),
CustomMultiSelectField
https://djku7spo6dfd0.cloudfront.net/public/messageImages/image_1658200005uuJ8hq27IvK.gifThis widget provide an GestureDetector which open the bottom sheet and are equipped with FormField features. You can customize it using the provided parameters.
To store the selected values, you can use the onSelectionDone parameter.
CustomMultiSelectField<String>(
title: "Country",
items: dataString,
enableAllOptionSelect: true,
onSelectionDone: _onCountriesSelectionComplete,
itemAsString: (item) => item.toString(),
),
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.