flutter_monaco 2.3.0
flutter_monaco: ^2.3.0 copied to clipboard
Integrate Monaco Editor (VS Code's editor) in Flutter apps. Features 100+ languages, syntax highlighting, themes, and full API.
We analyzed this package 15 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
636 out of 1029 API elements (61.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_monaco.EditorOptions.EditorOptions.fromJson, flutter_monaco.EditorOptions.EditorOptions.new, flutter_monaco.JsonDiagnosticsOptions.JsonDiagnosticsOptions.new, flutter_monaco.JsonDiagnosticsSchema.JsonDiagnosticsSchema.new, flutter_monaco.LspStdioMessageDecoder.LspStdioMessageDecoder.new.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
ERROR: The method 'setThemeById' can't be unconditionally invoked because the receiver can be 'null'.
lib/src/core/monaco_controller.dart:195:30
╷
195 │ await controller.setThemeById(options.effectiveThemeId);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/monaco_controller.dart
ERROR: The method 'setLanguage' can't be unconditionally invoked because the receiver can be 'null'.
lib/src/core/monaco_controller.dart:196:30
╷
196 │ await controller.setLanguage(options.language);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/monaco_controller.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert_object |
^1.0.4 |
1.1.1 | 1.1.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.6 | 2.1.6 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 | |
webview_flutter |
^4.13.1 |
4.14.1 | 4.14.1 | |
webview_flutter_windows |
^1.0.0 |
1.3.0 | 1.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.1.0 | 1.1.0 | |
jni_flutter |
- | 1.0.4+1 | 1.0.4+1 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
objective_c |
- | 9.6.2 | 9.6.2 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
webview_flutter_android |
- | 4.14.1 | 4.14.1 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.27.0 | 3.27.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 13 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/core/monaco_controller.dart:195:30- The method 'setThemeById' can't be unconditionally invoked because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/core/monaco_controller.dart:196:30- The method 'setLanguage' can't be unconditionally invoked because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/core/monaco_controller.dart:200:26- The property '_queuedValue' can't be unconditionally accessed because the receiver can be 'null'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Flutter 3.47.6, Dart 3.13.5.
Check the analysis log for details.