flutter_monaco 1.0.0
flutter_monaco: ^1.0.0 copied to clipboard
Integrate Monaco Editor (VS Code's editor) in Flutter apps. Features 100+ languages, syntax highlighting, themes, and full API.
import 'package:flutter/material.dart';
import 'package:flutter_monaco/flutter_monaco.dart';
void main() {
runApp(
MaterialApp(
showSemanticsDebugger: false,
debugShowCheckedModeBanner: false,
title: 'Flutter Monaco',
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
home: Scaffold(
appBar: AppBar(
title: const Text('Monaco Editor'),
),
body: const SafeArea(
child: MonacoEditor(
showStatusBar: true,
),
),
),
),
);
}