web_browser_detect 1.0.2+1 icon indicating copy to clipboard operation
web_browser_detect: ^1.0.2+1 copied to clipboard

Platformweb

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):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
0 / 10icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.01.2.1
collection-1.15.01.16.0
material_color_utilities-0.1.30.1.5
meta-1.7.01.7.0
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.1
vector_math-2.1.12.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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

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.

9
likes
80
pub points
92%
popularity

Publisher

verified publisher icontomas-chyly.com

Flutter Web browser detection package. This package allows you to detect which browser and its version is in use.

Homepage
Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on web_browser_detect