flutter_keyword_highlighter 1.1.1 flutter_keyword_highlighter: ^1.1.1 copied to clipboard
A flexible Flutter package for highlighting specific keywords and characters in text with customizable styles, making it perfect for text-based applications and user interfaces.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_keyword_highlighter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_keyword_highlighter: ^1.1.1
Alternatively, 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:flutter_keyword_highlighter/flutter_keyword_highlighter.dart';