date_time_pro 1.6.0 copy "date_time_pro: ^1.6.0" to clipboard
date_time_pro: ^1.6.0 copied to clipboard

discontinuedreplaced by: date_time_plus

Pick Date or Time functions, Date or Time convert functions.

date_time_pro #

Pick Date or Time functions, Date or Time convert functions.

Using #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.

Installation #

First, add date_time_pro as a dependency in your pubspec.yaml file.

In your flutter project add the dependency:

dependencies:
  ...
  date_time_pro:

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

Example #

Please follow this example here.

Date Picker and Time Picker #

  1. Use DateTimes.datePicker or DateTimes.timePicker function
  • Date Picker
DateTimes.datePicker(
  context: context,
  date: "1997-04-26",
  onSelected: (date) {
    log(date);
});
  • Time Picker
DateTimes.timePicker(
  context: context,
  time: "12:12:00",
  onSelected: (time) {
    log(time);
});
4
likes
150
pub points
24%
popularity

Publisher

unverified uploader

Pick Date or Time functions, Date or Time convert functions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, intl

More

Packages that depend on date_time_pro