idkit_timeformat 0.0.2 idkit_timeformat: ^0.0.2 copied to clipboard
This is a toolkit for time formatting, which can output time strings in common formats and custom formats.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add idkit_timeformat
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
idkit_timeformat: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:idkit_timeformat/idkit_timeformat.dart';