datetime_service_nwg 1.0.2 copy "datetime_service_nwg: ^1.0.2" to clipboard
datetime_service_nwg: ^1.0.2 copied to clipboard

A new Flutter package with a customized TextButton.

date_time_picker #

[pub package

This package will help us to get date time in some usefull formats. Don't need to rewrite code again and again.

Usage #

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

dependencies:
  ...
  datetime_service_nwg: "^1.0.0"

In your library add the following import:

import 'package:datetime_service_nwg/datetime_service_nwg.dart';

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

Example #

DateTimeService.toYYMMDD(inputDate:date)

initialValue can be null, empty or a DateTime string otherwise it will throw an error.

The result of val will be Time String:

  • ex.: 2022-12-25;
  • year, month, day;

Preview #

Overview

0
likes
100
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package with a customized TextButton.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on datetime_service_nwg