Skip to content
pubscout

day_picker

2.3.0, released 2 years ago by an unverified publisher

A Flutter widget library that helps users select days of the week.

WASM-ready
$ flutter pub add day_picker
Source repository

What it does

Provides the SelectWeekDays widget for rendering day selection buttons. Allows customization of colors, borders, fonts, and text, and supports updating selected days dynamically using a GlobalKey.

AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a UI component for picking specific days of the week in a form or scheduler.
  • You want customizable styling for selected and unselected day buttons.

Skip it when

  • You need a full calendar date picker rather than a repeating weekly day selector.

Strengths

  • Easy to implement with a clear widget constructor.
  • Offers broad styling options including background decoration, custom text colors, and borders.
  • Supports dynamic state changes after construction via GlobalKey.

Weaknesses

  • Limited in scope strictly to days of the week selection.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

final List<DayInWeek> _days = [
  DayInWeek("Zo", dayKey: "monday"),
  DayInWeek("Ma", dayKey: "tuesday"),
];

SelectWeekDays(
  days: _days,
  onSelect: (values) {
    print(values);
  },
);

Alternatives

Packages that do the same job and could replace day_picker.