reading_time 2.0.0 copy "reading_time: ^2.0.0" to clipboard
reading_time: ^2.0.0 copied to clipboard

A small dart library that predicts / calculates reading time like medium does .

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add reading_time

With Flutter:

 $ flutter pub add reading_time

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

dependencies:
  reading_time: ^2.0.0

Alternatively, 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:reading_time/reading_time.dart';
26
likes
140
points
346
downloads

Publisher

unverified uploader

Weekly Downloads

A small dart library that predicts / calculates reading time like medium does .

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on reading_time