flutter_dapp 0.0.28 copy "flutter_dapp: ^0.0.28" to clipboard
flutter_dapp: ^0.0.28 copied to clipboard

A runtime application plugin for flutter.

2
likes
60/ 160
pub points
0%
popularity

We analyzed this package 10 hours ago, and awarded it 60 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.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

27 out of 201 API elements (13.4 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: extension, extension.Extension, extension.Extension.Extension, extension.Extension.attachTo, extension.Extension.compiled.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:flutter_dapp/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/dwidget.dart that imports:
  • package:flutter_dapp/src/controller.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_dapp/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/dwidget.dart that imports:
  • package:flutter_dapp/src/controller.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_dapp/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/dwidget.dart that imports:
  • package:flutter_dapp/src/controller.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:flutter_dapp/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/flutter_dapp.dart that imports:
  • package:flutter_dapp/src/template.dart that imports:
  • package:flutter_dapp/src/widgets/dimage.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.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 34 issues. Showing the first 2:

ERROR: The name 'View' is defined in the libraries 'package:flutter/src/widgets/view.dart' and 'package:flutter_dapp/src/widgets/view.dart'.

lib/src/template.dart:396:12

    ╷
396 │     return View(
    │            ^^^^
    ╵

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

ERROR: 'View' isn't a function.

lib/src/template.dart:396:12

    ╷
396 │     return View(
    │            ^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
cached_network_image ^3.2.1 3.3.1 3.4.1
dio ^4.0.0 4.0.6 5.7.0
flutter flutter 0.0.0 0.0.0
fluttertoast ^8.0.8 8.2.8 8.2.8
js_script ^0.0.38 0.0.38 0.1.2
path ^1.8.0 1.9.1 1.9.1
vector_math ^2.1.0 2.1.4 2.1.4
xml_layout ^2.3.15 2.3.15 2.3.15
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 76.0.0
analyzer - 1.7.2 6.11.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
build - 2.4.1 2.4.1
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.3.1
cli_util - 0.3.5 0.4.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.1.1 2.3.7
ffi - 1.2.1 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 2.1.0 2.1.0
package_config - 2.1.0 2.1.0
path_provider - 2.0.15 2.1.4
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.0.7 2.3.0
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.4.0 2.4.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1-1 2.4.1-1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
win32 - 2.6.1 5.6.0
xdg_directories - 1.1.0 1.1.0
xml - 5.4.1 6.5.0
yaml - 3.1.2 3.1.2

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

The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.

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

The constraint `^0.0.38` on js_script does not support the stable version `0.1.0`.

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

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

  • AMBIGUOUS_IMPORT - lib/src/template.dart:396:12 - The name 'View' is defined in the libraries 'package:flutter/src/widgets/view.dart' and 'package:flutter_dapp/src/widgets/view.dart'.
  • INVOCATION_OF_NON_FUNCTION - lib/src/template.dart:396:12 - 'View' isn't a function.
  • CLASS_USED_AS_MIXIN - lib/src/widgets/dappbar.dart:5:44 - The class 'PreferredSizeWidget' can't be used as a mixin because it's neither a mixin class nor a mixin.

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.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

2
likes
60
pub points
0%
popularity

Publisher

unverified uploader

A runtime application plugin for flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, dio, flutter, fluttertoast, js_script, path, vector_math, xml_layout

More

Packages that depend on flutter_dapp