route_aware_widget 0.0.2 copy "route_aware_widget: ^0.0.2" to clipboard
route_aware_widget: ^0.0.2 copied to clipboard

A Flutter package that makes widgets aware of route navigation changes. Get callbacks when your widget's page appears or disappears.

115/ 160
pub points
15
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

6 out of 15 API elements (40.0 %) have documentation comments.

Some symbols that are missing documentation: route_aware_widget, route_aware_widget.RouteAwareConfig, route_aware_widget.RouteAwareConfig.RouteAwareConfig.new, route_aware_widget.RouteAwareConfig.of, route_aware_widget.RouteAwareConfig.routerType.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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

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

INFO: Library names are not necessary.

lib/route_aware_widget.dart:1:9

  ╷
1 │ library route_aware_widget;
  │         ^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:route_aware_widget/src/constants/router_type.dart' is unnecessary because all of the used elements are also provided by the import of 'package:route_aware_widget/route_aware_widget.dart'.

lib/route_aware_widget.dart:6:8

  ╷
6 │ import 'package:route_aware_widget/src/constants/router_type.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/route_aware_widget.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
auto_route 10.2.0 10.2.0 11.1.0
go_router ^17.0.0 17.0.1 17.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `10.2.0` on auto_route does not support the stable version `10.2.1`.

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

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that makes widgets aware of route navigation changes. Get callbacks when your widget's page appears or disappears.

Repository (GitHub)
View/report issues

Topics

#navigation #route #lifecycle #widget #analytics

Documentation

API reference

License

unknown (license)

Dependencies

auto_route, flutter, go_router

More

Packages that depend on route_aware_widget