Search packages, repositories and app categories

time_picker_widget cover
Package detailsv1.0.0+10

time_picker_widget

It is a custom showTimePicker to allow you set a selectableTimePredicate like you do in showDatePicker.

30-day downloads
2
Likes
30
Pub points
70

Install package

flutter pub add time_picker_widget

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The time_picker_widget package provides a customizable time picker similar to Flutter's built-in showTimePicker, with the added ability to set a selectableTimePredicate. This allows developers to restrict which times users can select, enhancing control over time input in applications. It mirrors the functionality of showDatePicker’s predicate feature, offering consistency across date and time pickers. The package is lightweight and integrates seamlessly into Flutter projects. It is particularly useful for scheduling apps, booking systems, or any app requiring time selection with specific constraints.

Use cases

  • Scheduling appointments
  • Booking systems
  • Time-based form inputs
  • Restricting available time slots
  • Custom time selection logic

Key features

  • Selectable time predicate support
  • Matches showDatePicker API pattern
  • Lightweight and easy to integrate
  • Customizable time range filtering
  • Flutter-compatible design

Suitable for

  • Developers needing time slot restrictions
  • Apps with appointment booking
  • Form builders requiring time validation
  • UIs with dynamic time availability
  • Projects using showDatePicker with consistent behavior

Considerations

  • No platform-specific customization options
  • Limited to time-only selection
  • Does not include date selection
  • Requires manual integration with form state
  • No built-in localization support

Categories

Projects using this package

No data available yet.