any_syntax_highlighter 0.0.2 any_syntax_highlighter: ^0.0.2 copied to clipboard
any_syntax_highlighter is a "convention" based syntax highlighting tool.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add any_syntax_highlighter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
any_syntax_highlighter: ^0.0.2
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:any_syntax_highlighter/any_syntax_highlighter.dart';