flutter_eval 0.7.6 copy "flutter_eval: ^0.7.6" to clipboard
flutter_eval: ^0.7.6 copied to clipboard

Flutter bridge library for dart_eval, enabling creation of fully dynamic Flutter apps and widgets that can be loaded from a file or the Internet at runtime.

232
likes
90/ 160
pub points
256
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

673 out of 836 API elements (80.5 %) have documentation comments.

Some symbols that are missing documentation: flutter_eval.CompilerWidget.args, flutter_eval.CompilerWidget.function, flutter_eval.CompilerWidget.library, flutter_eval.CompilerWidget.onError, flutter_eval.CompilerWidget.outputFile.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:flutter_eval/flutter_eval.dart that imports:
  • package:flutter_eval/src/flutter_eval.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

ERROR: Missing concrete implementations of 'Color.withValues', 'getter Color.a', 'getter Color.b', 'getter Color.colorSpace', and 2 more.

lib/src/sky_engine/ui/painting.dart:5:7

  ╷
5 │ class $Color implements Color, $Instance {
  │       ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sky_engine/ui/painting.dart

ERROR: '$Container.toStringDeep' ('String Function({DiagnosticLevel minLevel, String prefixLineOne, String? prefixOtherLines})') isn't a valid override of 'DiagnosticableTree.toStringDeep' ('String Function({DiagnosticLevel minLevel, String prefixLineOne, String? prefixOtherLines, int wrapWidth})').

lib/src/widgets/container.dart:178:10

    ╷
178 │   String toStringDeep(
    │          ^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dart_eval ^0.7.9 0.7.10 0.7.10
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.2 1.2.2
path_provider ^2.1.0 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 76.0.0 78.0.0
_macros - 0.3.3 0.3.3
analyzer - 6.11.0 7.1.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
change_case - 2.1.0 2.1.0
characters - 1.3.0 1.4.0
checked_yaml - 2.0.3 2.0.3
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 3.0.1
directed_graph - 0.4.3 0.4.4
exception_templates - 0.3.1 0.3.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
lazy_memo - 0.2.3 0.2.3
macros - 0.1.3-main.0 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.5 2.1.5
pubspec_parse - 1.4.0 1.4.0
quote_buffer - 0.2.6 0.2.6
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
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.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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 6 errors:

  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/src/sky_engine/ui/painting.dart:5:7 - Missing concrete implementations of 'Color.withValues', 'getter Color.a', 'getter Color.b', 'getter Color.colorSpace', and 2 more.
  • INVALID_OVERRIDE - lib/src/widgets/container.dart:178:10 - '$Container.toStringDeep' ('String Function({DiagnosticLevel minLevel, String prefixLineOne, String? prefixOtherLines})') isn't a valid override of 'DiagnosticableTree.toStringDeep' ('String Function({DiagnosticLevel minLevel, String prefixLineOne, String? prefixOtherLines, int wrapWidth})').
  • INVALID_OVERRIDE - lib/src/widgets/framework.dart:71:10 - '$Widget.toStringDeep' ('String Function({DiagnosticLevel minLevel, String prefixLineOne, String? prefixOtherLines})') isn't a valid override of 'DiagnosticableTree.toStringDeep' ('String Function({DiagnosticLevel minLevel, String prefixLineOne, String? prefixOtherLines, int wrapWidth})').

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

232
likes
90
points
256
downloads

Publisher

verified publisherethanblake.xyz

Weekly Downloads

Flutter bridge library for dart_eval, enabling creation of fully dynamic Flutter apps and widgets that can be loaded from a file or the Internet at runtime.

Repository (GitHub)
View/report issues

Topics

#flutter #codepush #interpreter #dynamic #widget

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_eval, flutter, http, path_provider

More

Packages that depend on flutter_eval