native_syntax_controller 1.3.0
native_syntax_controller: ^1.3.0 copied to clipboard
A high-performance syntax highlighting controller using Flutter's native text rendering (TextSpan). No overlays, no sync issues, just a pure TextEditingController extension.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_syntax_controllerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_syntax_controller: ^1.3.0Alternatively, 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:native_syntax_controller/native_syntax_controller.dart';