codemirror_flutter 0.1.1 copy "codemirror_flutter: ^0.1.1" to clipboard
codemirror_flutter: ^0.1.1 copied to clipboard

A native Dart/Flutter port of CodeMirror 6 - a high-performance code editor with syntax highlighting, autocomplete, and language support.

130/ 160
pub points
26
downloads

We analyzed this package 28 hours ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/wakulang/codemirror-flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/wakulang/codemirror-flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/wakulang/codemirror-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1853 out of 2445 API elements (75.8 %) have documentation comments.

Some symbols that are missing documentation: codemirror_flutter.ActiveLineBackground.ActiveLineBackground.new, codemirror_flutter.ActiveResult, codemirror_flutter.ActiveResult.ActiveResult.new, codemirror_flutter.ActiveResult.from, codemirror_flutter.ActiveResult.hasResult.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:codemirror_flutter/codemirror_flutter.dart that imports:
  • package:codemirror_flutter/src/lsp/lsp.dart that imports:
  • package:codemirror_flutter/src/lsp/semantic_tokens.dart that imports:
  • package:codemirror_flutter/src/view/view_plugin.dart that imports:
  • package:codemirror_flutter/src/view/editor_view.dart that imports:
  • package:codemirror_flutter/src/view/anchored_overlay.dart that imports:
  • package:follow_the_leader/follow_the_leader.dart that imports:
  • package:follow_the_leader/src/follower.dart that imports:
  • package:super_keyboard/super_keyboard.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:codemirror_flutter/codemirror_flutter.dart that imports:
  • package:codemirror_flutter/src/lsp/lsp.dart that imports:
  • package:codemirror_flutter/src/lsp/semantic_tokens.dart that imports:
  • package:codemirror_flutter/src/view/view_plugin.dart that imports:
  • package:codemirror_flutter/src/view/editor_view.dart that imports:
  • package:codemirror_flutter/src/view/anchored_overlay.dart that imports:
  • package:follow_the_leader/follow_the_leader.dart that imports:
  • package:follow_the_leader/src/follower.dart that imports:
  • package:super_keyboard/super_keyboard.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:codemirror_flutter/codemirror_flutter.dart that imports:
  • package:codemirror_flutter/src/lsp/lsp.dart that imports:
  • package:codemirror_flutter/src/lsp/semantic_tokens.dart that imports:
  • package:codemirror_flutter/src/view/view_plugin.dart that imports:
  • package:codemirror_flutter/src/view/editor_view.dart that imports:
  • package:codemirror_flutter/src/view/anchored_overlay.dart that imports:
  • package:follow_the_leader/follow_the_leader.dart that imports:
  • package:follow_the_leader/src/follower.dart that imports:
  • package:super_keyboard/super_keyboard.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:codemirror_flutter/codemirror_flutter.dart that imports:
  • package:codemirror_flutter/src/lsp/lsp.dart that imports:
  • package:codemirror_flutter/src/lsp/semantic_tokens.dart that imports:
  • package:codemirror_flutter/src/view/view_plugin.dart that imports:
  • package:codemirror_flutter/src/view/editor_view.dart that imports:
  • package:codemirror_flutter/src/view/anchored_overlay.dart that imports:
  • package:follow_the_leader/follow_the_leader.dart that imports:
  • package:follow_the_leader/src/follower.dart that imports:
  • package:super_keyboard/super_keyboard.dart that declares support for platforms: Android, iOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/autocomplete/state.dart:553:28

    ╷
553 │ TooltipView _createTooltip(context) {
    │                            ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/autocomplete/state.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/state/facet.dart:229:69

    ╷
229 │   /// This avoids Dart's runtime type checking when called with List<dynamic>.
    │                                                                     ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/state/facet.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
characters ^1.3.0 1.4.0 1.4.1
flutter_markdown ^0.7.7 0.7.7+1 0.7.7+1 Discontinued
follow_the_leader ^0.5.2 0.5.2 0.5.2
lezer ^0.1.0 0.1.0 0.1.0
meta ^1.11.0 1.17.0 1.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
fake_async - 1.3.3 1.3.3
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
flutter_test_runners - 0.0.4 1.0.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
markdown - 7.3.0 7.3.0
matcher - 0.12.17 0.12.18
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
super_keyboard - 0.3.1 0.3.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.9
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • flutter_markdown.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A native Dart/Flutter port of CodeMirror 6 - a high-performance code editor with syntax highlighting, autocomplete, and language support.

Repository (GitHub)
View/report issues

Topics

#code-editor #syntax-highlighting #codemirror #text-editor

Documentation

API reference

License

MIT (license)

Dependencies

characters, flutter, flutter_markdown, follow_the_leader, lezer, meta

More

Packages that depend on codemirror_flutter