beamer 1.5.6
beamer: ^1.5.6 copied to clipboard
A routing package built on top of Router and Navigator's pages API, supporting arbitrary nested navigation, guards and more.
1125
likes
120/ 140
pub points
96%
popularity
We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 140):
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
.
10/10 points: Package has an example
10/10 points: 20% or more of the public API has dartdoc comments
- 244 out of 253 API elements (96.4 %) have documentation comments.
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:beamer/beamer.dart
that imports:package:beamer/src/beamer.dart
that imports:package:beamer/src/path_url_strategy_web.dart
that imports:package:flutter_web_plugins/flutter_web_plugins.dart
that imports:package:flutter_web_plugins/src/plugin_registry.dart
that imports:dart:ui_web
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 67 issues. Showing the first 2:
WARNING: The left operand can't be null, so the right operand is never executed.
lib/src/beam_guard.dart:180:65
╷
180 │ Uri.parse(location.state.routeInformation.location ?? '/').path;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/beam_guard.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/beam_location.dart:438:62
╷
438 │ List<String> get pathPatterns => [routeInformation.location!];
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/beam_location.dart
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 |
flutter_web_plugins |
flutter |
0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.17.2 | 1.18.0 |
material_color_utilities |
- | 0.5.0 | 0.8.0 |
meta |
- | 1.9.1 | 1.10.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.1.4-beta | 0.2.1-beta |
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
Analysed with Pana 0.21.36
, Flutter 3.13.3
, Dart 3.1.1
.