duskmoon_code_engine 1.2.2
duskmoon_code_engine: ^1.2.2 copied to clipboard
Pure Dart code editor engine with incremental parsing — a ground-up port of the CodeMirror 6 architecture for Flutter.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add duskmoon_code_engineWith Flutter:
$ flutter pub add duskmoon_code_engineThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
duskmoon_code_engine: ^1.2.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:duskmoon_code_engine/duskmoon_code_engine.dart';