0 purchases
datetime service nwg
date_time_picker #
[
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"
copied to clipboard
In your library add the following import:
import 'package:datetime_service_nwg/datetime_service_nwg.dart';
copied to clipboard
For help getting started with Flutter, view the online documentation.
Example #
DateTimeService.toYYMMDD(inputDate:date)
copied to clipboard
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 #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.