omni_datetime_picker
2.3.3, released 6 weeks ago by alanchan.dev
A datetime picker package with option for a single datetime picker or a datetime range picker.
What it does
Provides customizable single date/time pickers and date/time range pickers as dialogs or standalone widgets. It supports 12/24 hour modes, seconds, intervals, and selectable day predicates.
AI-written summary of version 2.3.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to allow users to select both a date and a time in your Flutter app.
- You need a range picker for start and end date-times.
- You want customizable date/time picker dialogs or embedded widgets.
Skip it when
- You only need standard platform-native date or time pickers without custom ranges or combined widgets.
Strengths
- Supports both single and range datetime picking.
- Highly customizable including themes, constraints, transitions, and intervals.
- Can be used as a dialog or directly as a widget.
Weaknesses
- Adds heavy external dependencies like flutter_bloc and rxdart for a date picker widget.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
DateTime? dateTime = await showOmniDateTimePicker(context: context);Alternatives
Packages that do the same job and could replace omni_datetime_picker.
- calendar_date_picker2
A customizable Flutter calendar picker with single, multi, and range selection modes.
83Compare - board_datetime_picker
Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.
87Compare - flutter_date_range_picker
Flutter package for selecting date ranges with calendar, dialog, and form field options.
76Compare - date_field
A form field widget for picking dates and times with adaptive Material and Cupertino dialogs
75Compare
Works with
Packages commonly used together with omni_datetime_picker: ones it builds on, ones built on it, and its own family.
- equatableomni_datetime_picker depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- rxdartomni_datetime_picker depends on itImplementation of the ReactiveX API for asynchronous programming leveraging native Dart Streams.
- material_uiomni_datetime_picker depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- cupertino_uiomni_datetime_picker depends on itOfficial Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.
- flutter_blocomni_datetime_picker depends on itFlutter widgets to easily integrate blocs and cubits for state management.