The package 'text' allows to get detailed information about the text such as the number of lines, lines at positions, characters at locations, locations at positions, positions at locations, and vice versa.
It is much faster than you could possibly imagine, thanks to the sparse lists.
Add this to your package's pubspec.yaml file:
dependencies: text: ^0.0.1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.1||May 20, 2019|
|0.1.0||Aug 29, 2018|
|0.0.7||Sep 25, 2014|
|0.0.6||Sep 24, 2014|
|0.0.4||Sep 17, 2014|
|0.0.3||Sep 17, 2014|
|0.0.2||Sep 17, 2014|
|0.0.1||Sep 17, 2014|