dropdown_cupertino 0.0.4 dropdown_cupertino: ^0.0.4 copied to clipboard
DropDown cupertino flutter package.
You can use this widget that can perform any enum selection on iOS and Android devices. Offers a simple aesthetic to your mobile app.
Features #
Select any enum with cupertino style
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
Usage #
There is an example, you can check it
to /example
folder.
DropDownCupertino<Person>(
initialText: "Select a Person :",
pickList: personMap,
height: 160,
onSelectedItemChanged: ((selected) {
debugPrint("Selected text is: $selected");
}),
)
- initialText: Text to be seen before opening the menu.
- pickList: Dropdown type.
- height: Height of dropdown menu visible in app.
- onSelectedItemChanged: Prints the selected item to the console.
Additional information #
Working on more flexible for it.