text_calculator 0.0.1
text_calculator: ^0.0.1 copied to clipboard
You can calculate how many pages are needed before rendering the page. Additionally, it provides information about the coordinates and width-height of each word
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add text_calculatorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
text_calculator: ^0.0.1Alternatively, 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:text_calculator/text_calculator.dart';