Date_time_picker_widget

Alternatives To Date_time_picker_widget
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Table_calendar1,5262129 days ago48May 29, 202266apache-2.0Dart
Highly customizable, feature-packed calendar widget for Flutter
Flutter_calendar_carousel7542317 days ago89July 12, 20223mitDart
Calendar widget for flutter that is swipeable horizontally. This widget can help you build your own calendar widget highly customizable.
Flutter_datetime_picker577531322 days ago47April 23, 2021136mitDart
a date time picker in flutter
Jiffy4372810 days ago12December 18, 202119mitDart
Jiffy is a Flutter (Android, IOS and Web) date time package inspired by momentjs for parsing, manipulating, querying and formatting dates
Timeago.dart4165517a month ago58August 11, 202243mitDart
A library useful for creating fuzzy timestamps. (e.g. "5 minutes ago")
Flutter_rounded_date_picker296
17 months ago18September 05, 202233otherDart
The Flutter plugin that help you can choose dates and years with rounded calendars and customizable themes.
Dart Basic Utils2888312 days ago128November 08, 20226mitDart
A dart package for many helper methods fitting common situations
Date_range_picker1941222 years ago8March 17, 202129mitDart
Flutter date range pickers use a dialog window to select a range of date on mobile.
Flutter_calendar_strip175
2a year ago8October 22, 202014bsd-3-clauseDart
A Flutter Calendar Strip Widget
Datepickertimelineflutter127
22 years ago9March 06, 202116apache-2.0Dart
Flutter Date Picker Library that provides a calendar as a horizontal timeline
Alternatives To Date_time_picker_widget
Select To Compare


Alternative Project Comparisons
Readme

date_time_picker_widget

pub package

This package brings us a way to pick date and time with fresh new UI design

Usage

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  date_time_picker_widget: ^0.1.0

In your library add the following import:

import 'package:date_time_picker_widget/date_time_picker_widget.dart';

For help getting started with Flutter, view the online documentation.

Example

There are three presentations for DateTimePickerWidget and can be defined in the type parameter:

  • DateTimePickerType.Date will present date picker;
  • DateTimePickerType.Time will present time picker;
  • DateTimePickerType.Both will present date and time picker both;
DateTimePicker(
  type: DateTimePickerType.Both, // options: [Date | Time | Both], default is Both
  ...
)

More complete example:

DateTimePicker(
  initialSelectedDate: dt,
  startDate: dt.add(Duration(days: 1)),
  endDate: dt.add(Duration(days: 60)),
  startTime: DateTime(dt.year, dt.month, dt.day, 6),
  endTime: DateTime(dt.year, dt.month, dt.day, 18),
  timeInterval: Duration(minutes: 15),
  datePickerTitle: 'Pick your preferred date',
  timePickerTitle: 'Pick your preferred time',
  timeOutOfRangeError: 'Sorry shop is closed now',
  is24h: false,
  onDateChanged: (date) {
    setState(() {
      _d1 = DateFormat('dd MMM, yyyy').format(date);
    });
  },
  onTimeChanged: (time) {
    setState(() {
      _t1 = DateFormat('hh:mm:ss aa').format(time);
    });
  },
)

Demo

Demo

Screen Shot

Screenshot

Popular Flutter Projects
Popular Date Projects
Popular User Interface Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Dart
Flutter
Date
Time
Picker
Datepicker