extensions_flutter 0.3.7 copy "extensions_flutter: ^0.3.7" to clipboard
extensions_flutter: ^0.3.7 copied to clipboard

Adds Flutter integration for the extensions package.

1
likes
100/ 160
pub points
92
downloads

We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/jamiewest/extensions/issues?q=is%3Aissue+is%3Aopen+label%3Aextensions-flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: extensions_flutter,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/extensions_flutter/pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting extensions_flutter... Discovering libraries... Linking elements... ERR: dartdoc 8.3.1 (/tmp/analyzerSEIMIJ/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.6.0.snapshot) failed: LateInitializationError: Field 'objectClass' has not been initialized. #0 PackageGraph.objectClass (package:dartdoc/src/model/package_graph.dart) #1 Mixin.superclassConstraints.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:extensions_flutter/extensions_flutter.dart that imports:
  • package:extensions_flutter/src/flutter_lifetime.dart that imports:
  • package:extensions_flutter/src/flutter_application_lifetime.dart that imports:
  • package:extensions/hosting.dart that imports:
  • package:extensions/src/hosting/internal/service_factory_adapter.dart that imports:
  • package:extensions/src/hosting/host_builder_context.dart that imports:
  • package:extensions/src/hosting/host.dart that imports:
  • package:extensions/src/hosting/host_application_builder_settings.dart that imports:
  • package:extensions/src/hosting/host_application_builder.dart that imports:
  • package:extensions/src/hosting/hosting_host_builder_extensions_io.dart that imports:
  • package:extensions/src/hosting/internal/console_lifetime.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:extensions_flutter/extensions_flutter.dart that imports:
  • package:extensions_flutter/src/flutter_lifetime.dart that imports:
  • package:extensions_flutter/src/flutter_application_lifetime.dart that imports:
  • package:extensions/hosting.dart that imports:
  • package:extensions/src/hosting/internal/service_factory_adapter.dart that imports:
  • package:extensions/src/hosting/host_builder_context.dart that imports:
  • package:extensions/src/hosting/host.dart that imports:
  • package:extensions/src/hosting/host_application_builder_settings.dart that imports:
  • package:extensions/src/hosting/host_application_builder.dart that imports:
  • package:extensions/src/hosting/hosting_host_builder_extensions_io.dart that imports:
  • package:extensions/src/hosting/internal/console_lifetime.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and 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
30 / 50trigger folding of the section

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

WARNING: Missing case clause for 'hidden'.

lib/src/flutter_lifecycle_observer.dart:43:5

   ╷
43 │     switch (state) {
   │     ^^^^^^^^^^^^^^
   ╵

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

WARNING: The value of the field '_options' isn't used.

lib/src/flutter_lifetime.dart:12:32

   ╷
12 │   final FlutterLifetimeOptions _options;
   │                                ^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
extensions ^0.3.12 0.3.13 0.3.13
flutter flutter 0.0.0 0.0.0
package_info_plus ^3.0.3 3.1.2 8.1.2
pub_semver ^2.1.3 2.1.5 2.1.5
shared_preferences ^2.0.17 2.3.5 2.3.5
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.2
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus_platform_interface - 2.0.1 3.0.2
path - 1.9.1 1.9.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
shared_preferences_android - 2.4.1 2.4.1
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
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
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
win32 - 4.1.4 5.10.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^3.0.3` on package_info_plus does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions package_info_plus to update the constraint.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.1, Dart 3.6.0.

Check the analysis log for details.

1
likes
100
points
92
downloads

Publisher

verified publisherjamiewest.dev

Weekly Downloads

Adds Flutter integration for the extensions package.

Repository
View/report issues

License

MIT (license)

Dependencies

extensions, flutter, package_info_plus, pub_semver, shared_preferences

More

Packages that depend on extensions_flutter