event_navigation 0.7.1 copy "event_navigation: ^0.7.1" to clipboard
event_navigation: ^0.7.1 copied to clipboard

Uses the event_bloc package to create a solution for navigation.

1
likes
70/ 160
pub points
48
downloads

We analyzed this package 4 days ago, and awarded it 70 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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

51 out of 151 API elements (33.8 %) have documentation comments.

Some symbols that are missing documentation: event_navigation, event_navigation.BlocBackButton, event_navigation.BlocBackButton.BlocBackButton, event_navigation.BlocBackButton.levels, event_navigation.BuildContextNavigation.

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:event_navigation/event_navigation.dart that imports:
  • package:event_navigation/src/widget/app/main.dart that imports:
  • package:event_navigation/src/widget/app/web_app.dart that imports:
  • package:universal_html/html.dart that imports:
  • package:universal_html/src/_sdk/html.dart that imports:
  • package:universal_html/src/_sdk_html_additions.dart that imports:
  • dart:io

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 7 issues. Showing the first 2:

ERROR: The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.

lib/src/widget/carousel/carousel_screen.dart:5:9

  ╷
5 │   final CarouselController? controller;
  │         ^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.

lib/src/widget/carousel/carousel_screen.dart:25:14

   ╷
25 │   late final CarouselController controller;
   │              ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/carousel/carousel_screen.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
carousel_slider ^4.0.0 4.2.1 5.0.0
equatable ^2.0.0 2.0.7 2.0.7
event_bloc ^4.2.0 4.7.0 4.7.0
flutter flutter 0.0.0 0.0.0
provider ^6.0.0 6.1.2 6.1.2
universal_html ^2.0.0 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
collection - 1.19.0 1.19.1
csslib - 1.0.2 1.0.2
html - 0.15.5 0.15.5
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4

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

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

Try running dart pub upgrade --major-versions carousel_slider 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 7 errors:

  • AMBIGUOUS_IMPORT - lib/src/widget/carousel/carousel_screen.dart:5:9 - The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/widget/carousel/carousel_screen.dart:25:14 - The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/widget/carousel/carousel_screen.dart:30:39 - The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.

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.

1
likes
70
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

Uses the event_bloc package to create a solution for navigation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

carousel_slider, equatable, event_bloc, flutter, provider, universal_html

More

Packages that depend on event_navigation