Flutter Material Pickers
A flutter package containing commonly used material design picker dialogs. Some are new, some wrap existing or built in pickers with a common dialog and access function.
It includes:
- New Pickers
- showMaterialScrollPicker:
- Allows selection of a string via a slot machine carousel
- showMaterialNumberPicker:
- Allows selection of a number via a slot machine carousel
- showMaterialRadioPicker:
- Allows selection of a single from a radio list
- showMaterialCheckboxPicker:
- Allows selection of many values from a checkbox list
- showMaterialSelectionPicker:
- Allows selection of a single value via an icon label list
- showMaterialScrollPicker:
- Convenience Pickers
- showMaterialDatePicker:
- Allows selection of a date (uses the core date picker)
- showMaterialTimePicker:
- Allows selection of a time (uses the core time picker)
- showMaterialColorPicker:
- Allows RGB selection of a color (uses the ColorPicker of flutter_colorpicker)
- showMaterialPalettePicker:
- Allows Material palette selection of a color (uses the MaterialPicker of flutter_colorpicker)
- showMaterialSwatchPicker:
- Allows selection of a color from swatches (uses the BlockPicker of flutter_colorpicker)
- showMaterialDatePicker:
- Dialog
- showMaterialResponsiveDialog:
- Extends Dialog by making it responsive to screen orientation changes
- showMaterialResponsiveDialog:
All helpers implement an onChange
handler to return picked option(s).
Example Usage
Empty Dialog Example
Although not a picker, per se, the showMaterialEmptyPicker helper displays the universal material design dialog wrapper that the pickers appear in. Using this directly, however, allows any content to be injected into the content area by passing in a custon Widget as the child. This code shows the basic structure of all the helpers:
Scroll Picker Example
Number Picker Example
Checkbox Picker Example
Radio Picker Example
Selection Picker Example
Time Picker Example
Date Picker Example
Color Picker Example
Palette Picker Example
Swatch Picker Example
Theming
It is highly recommended you use Flutter's built in theme styling with primarySwatch
to automatically style all controls across your entire application.
If you desire to override the color for a given control, here is how to customize the theme:
The example app demonstrates switching between light and dark themes globally.
However, if for some reason you want to change colors in an individual dialog, several parameters are exposed to allow this:

Dependencies
This widget set relies on these external third-party components:
Changelog
Please see the Changelog page to know what's recently changed.
Authors
- Jeff Jorczak jeff@jorczak.com