nuvigator 2.0.0-beta.3 copy "nuvigator: ^2.0.0-beta.3" to clipboard
nuvigator: ^2.0.0-beta.3 copied to clipboard

A powerful routing abstraction over Flutter navigator, providing some new features and an easy way to define routers.

48
likes
110/ 140
pub points
49%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

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: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting nuvigator... Discovering libraries... Linking elements... Precaching local docs for 595312 elements... Initialized dartdoc with 738 libraries Generating docs for library nuvigator.dart from package:nuvigator/nuvigator.dart... Generating docs for library next.dart from package:nuvigator/next.dart... Documented 2 public libraries in 78.3 seconds ERR: warning: ambiguous reexport of screen_route.ScreenRoute, canonicalization candidates: (nuvigator, nuvigator) -> nuvigator (confidence 0.000) from screen_route.ScreenRoute: (file:///tmp/pana_CSXMFO/lib/src/screen_route.dart:9:7) nuvigator: 1.211 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000), _Reason.locationPartStart (+0.001000)) nuvigator: 1.211 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor screen_route.ScreenRoute} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [146 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: 'hashList' is deprecated and shouldn't be used. Use Object.hashAll() or Object.hashAllUnordered() instead. This feature was deprecated in v3.1.0-0.0.pre.897.

lib/src/nu_route_settings.dart:37:23

   ╷
37 │   int get hashCode => hashList([name, rawParameters, pathTemplate]);
   │                       ^^^^^^^^
   ╵

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

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/src/nuvigator.dart:487:15

    ╷
487 │       child = WillPopScope(
    │               ^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
analyzer ^3.2.0 3.4.1 6.5.0
dart_style ^2.0.2 2.2.3 2.3.6
flutter flutter 0.0.0 0.0.0
path_to_regexp ^0.4.0 0.4.0 0.4.0
recase ^4.0.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 38.0.0 68.0.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.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 `^3.2.0` on analyzer does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

48
likes
110
pub points
49%
popularity

Publisher

verified publishernubank.dev

A powerful routing abstraction over Flutter navigator, providing some new features and an easy way to define routers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

analyzer, dart_style, flutter, path_to_regexp, recase

More

Packages that depend on nuvigator