Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Table_calendar | 1,526 | 21 | 2 | 9 days ago | 48 | May 29, 2022 | 66 | apache-2.0 | Dart | |
Highly customizable, feature-packed calendar widget for Flutter | ||||||||||
Flutter_calendar_carousel | 754 | 23 | 1 | 7 days ago | 89 | July 12, 2022 | 3 | mit | Dart | |
Calendar widget for flutter that is swipeable horizontally. This widget can help you build your own calendar widget highly customizable. | ||||||||||
Flutter_datetime_picker | 577 | 53 | 13 | 22 days ago | 47 | April 23, 2021 | 136 | mit | Dart | |
a date time picker in flutter | ||||||||||
Jiffy | 437 | 2 | 8 | 10 days ago | 12 | December 18, 2021 | 19 | mit | Dart | |
Jiffy is a Flutter (Android, IOS and Web) date time package inspired by momentjs for parsing, manipulating, querying and formatting dates | ||||||||||
Timeago.dart | 416 | 55 | 17 | a month ago | 58 | August 11, 2022 | 43 | mit | Dart | |
A library useful for creating fuzzy timestamps. (e.g. "5 minutes ago") | ||||||||||
Flutter_rounded_date_picker | 296 | 1 | 7 months ago | 18 | September 05, 2022 | 33 | other | Dart | ||
The Flutter plugin that help you can choose dates and years with rounded calendars and customizable themes. | ||||||||||
Dart Basic Utils | 288 | 8 | 31 | 2 days ago | 128 | November 08, 2022 | 6 | mit | Dart | |
A dart package for many helper methods fitting common situations | ||||||||||
Date_range_picker | 194 | 12 | 2 | 2 years ago | 8 | March 17, 2021 | 29 | mit | Dart | |
Flutter date range pickers use a dialog window to select a range of date on mobile. | ||||||||||
Flutter_calendar_strip | 175 | 2 | a year ago | 8 | October 22, 2020 | 14 | bsd-3-clause | Dart | ||
A Flutter Calendar Strip Widget | ||||||||||
Datepickertimelineflutter | 127 | 2 | 2 years ago | 9 | March 06, 2021 | 16 | apache-2.0 | Dart | ||
Flutter Date Picker Library that provides a calendar as a horizontal timeline |
This package brings us a way to pick date and time with fresh new UI design
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.
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);
});
},
)