[TBD]
Available extensions:
- Extension on
num
that enables durational suffixes:1.hour
,1.minute
etc. Math and comparison is out of the box:1.hour == 0.5.hour + 0.5.hour
- Dart version >=2.6
- Add an entry in your
pubspec.yaml
fordatetimex
dependencies:
datetimex: ^1.0.0
- Run
pub get
(flutter packages get
for Flutter) - Import the extension you need
import 'package:datetimex/duration.dart'; // Durational suffixes
See CHANGELOG
Please file bugs and feature requests at the issue tracker.