vrouter 1.2.1 copy "vrouter: ^1.2.1" to clipboard
vrouter: ^1.2.1 copied to clipboard

A navigation package that makes navigation and routing easy on every platform. Built on top of Navigator 2.

322
likes
120/ 140
pub points
91%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://vrouter.dev was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

653 out of 786 API elements (83.1 %) have documentation comments.

Some symbols that are missing documentation: vrouter, vrouter.CupertinoVRouter.of, vrouter.CupertinoVRouterState, vrouter.CupertinoVRouterState.CupertinoVRouterState, vrouter.CupertinoVRouterState.push.

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
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 38 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/core/vrouter_delegate.dart:1655:35

     ╷
1655 │     if (routeInformation.location != null && !_ignoreNextBrowserCalls) {
     │                                   ^^^^^^^
     ╵

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

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/core/vrouter_delegate.dart:1656:47

     ╷
1656 │       final newUrl = routeInformation.location!;
     │                                               ^
     ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
move_to_background ^1.0.2 1.0.2 1.0.2
url_launcher ^6.1.2 6.2.5 6.2.5
url_strategy ^0.2.0 0.2.0 0.2.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
url_launcher_android - 6.3.0 6.3.0
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.0 2.3.0
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

322
likes
120
pub points
91%
popularity

Publisher

verified publishervrouter.dev

A navigation package that makes navigation and routing easy on every platform. Built on top of Navigator 2.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, move_to_background, url_launcher, url_strategy

More

Packages that depend on vrouter