paginated_text 0.4.0
paginated_text: ^0.4.0 copied to clipboard
Takes a block of text, auto-paginates it based on the layout size, and optionally: adds an auto-sized drop cap on the first page and/or parses inline markdown.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add paginated_text
With Flutter:
$ flutter pub add paginated_text
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
paginated_text: ^0.4.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:paginated_text/paginated_text.dart';