flutter_material_pickers
3.7.0, released 3 years ago by an unverified publisher
Easily and consistently show material themed picker dialogs in Flutter.
What it does
Provides a collection of customizable material design picker dialogs and helpers for lists, numbers, dates, times, colors, and files. All helpers return a Future with the picked option(s) and use an onChange handler.
AI-written summary of version 3.7.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need standard Material dialog pickers for dates, times, colors, or custom items.
- You want consistent dialog styling across different types of user selections.
Skip it when
- You require non-Material or fully custom Cupertino-style picker widgets.
- You need inline form pickers rather than dialog-based pickers.
Strengths
- Supports generic types for items in pickers.
- Includes a wide variety of pickers (scroll, number, radio, checkbox, color, date, time, file).
- Responsive dialog scaling across orientation changes.
Weaknesses
- Limited to dialog-based interactions.
- Relies on external dependencies for color and file picking.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
showMaterialNumberPicker(
context: context,
title: 'Pick Your Age',
maxNumber: 100,
minNumber: 14,
selectedNumber: age,
onChanged: (value) => setState(() => age = value),
);Alternatives
Packages that do the same job and could replace flutter_material_pickers.
- flex_color_picker
If you need a more advanced and comprehensive color picker than the ones bundled here.
84Compare - calendar_date_picker2
If you need advanced calendar and date range picking capabilities instead of standard date pickers.
83Compare
Works with
Packages commonly used together with flutter_material_pickers: ones it builds on, ones built on it, and its own family.
- intlflutter_material_pickers depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- file_pickerflutter_material_pickers depends on itUse the native file explorer to pick single or multiple files, directories, and save files.
- flutter_colorpickerflutter_material_pickers depends on itHSV, HSL, RGB, and Material color picker widgets for Flutter applications.