const_date_time_range 1.0.0 copy "const_date_time_range: ^1.0.0" to clipboard
const_date_time_range: ^1.0.0 copied to clipboard

A drop-in replacement for Dart's DateTimRange class with const constructors.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add const_date_time_range

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  const_date_time_range: ^1.0.0

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:const_date_time_range/const_date_time_range.dart';
1
likes
160
points
19
downloads

Publisher

verified publisherwesty92.com

Weekly Downloads

A drop-in replacement for Dart's DateTimRange class with const constructors.

Repository (GitHub)
View/report issues

Topics

#date #time #date-time #const #util

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

const_date_time, flutter

More

Packages that depend on const_date_time_range