dropdown_wheel_picker 0.0.2
dropdown_wheel_picker: ^0.0.2 copied to clipboard
Flutter package for dropdown scrollable wheel picker
Put a short description of the package here that helps potential users know whether this package might be useful for them.
Features #
List what your package can do. Maybe include images, gifs, or videos.
Getting started #
List prerequisites and provide or point to information on how to start using the package.
Usage #
Dropdown Item Picker
DropdownItemPicker(
pickerTitle: Text('Countries'),
items: [
Text('China 🇨🇳'),
Text('France 🇫🇷'),
Text('Russia 🇷🇺'),
Text('United Kingdom 🇬🇧'),
Text('United States 🇺🇸'),
],
onChanged: (value) => print('Selected Country: $value'),
)
Dropdown Multi-column Item Picker
DropdownMultiColItemPicker(
pickerTitle: Text('Countries'),
multiColItems: [
[
Text('China 🇨🇳'),
Text('France 🇫🇷'),
Text('Russia 🇷🇺'),
Text('United Kingdom 🇬🇧'),
Text('United States 🇺🇸'),
],
[
Text('Algeria 🇩🇿'),
Text('Ecuador 🇪🇨'),
Text('Guyana 🇬🇾'),
Text('Japan 🇯🇵'),
Text('Malta 🇲🇹'),
Text('Mozambique 🇲🇿'),
Text('Sierra Leone 🇸🇱'),
Text('Slovenia 🇸🇮'),
Text('South Korea 🇰🇷'),
Text('Switzerland 🇨🇭'),
]
]
onChanged: (value) => print('Selected Countries: $value'),
)
Dropdown Date Picker
DropdownDatePicker(
pickerTitle: Text('Date Picker'),
initialDate: DateTime(2024, 1, 1),
firstYear: 2020,
lastYear: 2025,
onChanged: (value) => print('Selected Date: $value'),
)
Additional information #
Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.