web_browser_detect 1.0.2+1
web_browser_detect: ^1.0.2+1 copied to clipboard
Flutter Web browser detection package. This package allows you to detect which browser and its version is in use.
9
likes
80/ 120
pub points
92%
popularity
We analyzed this package 21 hours ago, and awarded it 80 pub points (of a possible 120):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:web_browser_detect/web_browser_detect.dart
that imports:package:web_browser_detect/browser.dart
that imports:dart:html
Package not compatible with platform iOS
Because:
package:web_browser_detect/web_browser_detect.dart
that imports:package:web_browser_detect/browser.dart
that imports:dart:html
Package not compatible with platform Windows
Because:
package:web_browser_detect/web_browser_detect.dart
that imports:package:web_browser_detect/browser.dart
that imports:dart:html
Package not compatible with platform Linux
Because:
package:web_browser_detect/web_browser_detect.dart
that imports:package:web_browser_detect/browser.dart
that imports:dart:html
Package not compatible with platform macOS
Because:
package:web_browser_detect/web_browser_detect.dart
that imports:package:web_browser_detect/browser.dart
that imports:dart:html
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: Avoid using web-only libraries outside Flutter web plugin packages.
lib/browser.dart:1:1
╷
1 │ import 'dart:html';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/browser.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 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.2.0 | 1.2.1 |
collection | - | 1.15.0 | 1.16.0 |
material_color_utilities | - | 0.1.3 | 0.1.5 |
meta | - | 1.7.0 | 1.7.0 |
sky_engine | - | 0.0.99 | 0.0.99 |
typed_data | - | 1.3.0 | 1.3.1 |
vector_math | - | 2.1.1 | 2.1.2 |
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
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.7.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.12
, Flutter 2.10.5
, Dart 2.16.2
.