format_date_x 1.0.2
format_date_x: ^1.0.2 copied to clipboard
Convert and format dates easily in Dart/Flutter. Supports ISO, US, EU, custom formats, string extensions, and optional BLoC integration.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add format_date_xWith Flutter:
$ flutter pub add format_date_xThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
format_date_x: ^1.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:format_date_x/format_date_x.dart';