monaco_editor 0.0.1+1 monaco_editor: ^0.0.1+1 copied to clipboard
A Flutter plugin for using the monaco editor in the WEB application
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add monaco_editor
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
monaco_editor: ^0.0.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:monaco_editor/monaco_editor.dart';