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

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

120/ 160
pub points
12
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/yourusername/route_aware_widget was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/yourusername/route_aware_widget was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/yourusername/route_aware_widget/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/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 3 issues. Showing the first 2:

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

INFO: 'location' is deprecated and shouldn't be used. Use uri instead. This feature was deprecated after v3.8.0-3.0.pre.

lib/src/go_router_route_aware_widget.dart:33:60

   ╷
33 │       _myLocation = _router.routeInformationProvider.value.location;
   │                                                            ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/go_router_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.1.0 17.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
vector_math - 2.2.0 2.3.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.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
12
downloads

Documentation

API reference

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

License

unknown (license)

Dependencies

auto_route, flutter, go_router

More

Packages that depend on route_aware_widget