selectable_text_highlighter 0.0.1+3
selectable_text_highlighter: ^0.0.1+3 copied to clipboard
This package helps you to select and highlight the text. You can even set the text styles for both the highlighted as well as unhighlighted text.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add selectable_text_highlighterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
selectable_text_highlighter: ^0.0.1+3Alternatively, 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:selectable_text_highlighter/selectable_text_highlighter.dart';