Skip to content
pubscout

flutter_material_pickers

3.7.0, released 3 years ago by an unverified publisher

Easily and consistently show material themed picker dialogs in Flutter.

$ flutter pub add flutter_material_pickers
Source repository

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.

Works with

Packages commonly used together with flutter_material_pickers: ones it builds on, ones built on it, and its own family.