dropdown_wheel_picker 0.0.3
dropdown_wheel_picker: ^0.0.3 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('Star Wars'),
multiColItems: [
[
Text('Jedi'),
Text('Empire'),
],
[
Text('Luke'),
Text('Anakin'),
Text('Obi-Wan'),
Text('Han Solo'),
Text('Palpatine'),
]
]
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'),
)
DropdownDistancePicker(
pickerTitle: Text('Distance Picker'),
onChanged: (value) => print('${value.value} ${value.unit}'),
)
DropdownTimePicker(
pickerTitle: Text('Time Picker'),
onChanged: (value) => print(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.