platform_widgets 0.1.0

A Flutter plugin for Platform widgets. This package simplifies the usage of specific widgets for both Android and iOS.

6
likes
60 / 100
pub points
35 %
popularity

We analyzed this package on Oct 18, 2020, and awarded it 60 pub points (of a possible 100):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 10

10/10 points: Package has an example

  • Found example at: example/lib/main.dart
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package not compatible with runtime flutter-web on Web

Because:

  • package:platform_widgets/base/platform_app.dart that imports:
  • dart:io
Pass static analysis
0 / 30

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

Found 3 issues. Showing the first 2:

ERROR: The name 'ActionFactory' isn't a type so it can't be used as a type argument.

lib/base/platform_app.dart:63:23

   ╷
63 │   final Map<LocalKey, ActionFactory> actions;
   │                       ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/base/platform_app.dart

ERROR: The argument type 'Map

lib/base/platform_app.dart:89:7

   ╷
89 │       actions: actions,
   │       ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/base/platform_app.dart

Support up-to-date dependencies
20 / 20

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.1.0-nullsafety.31.1.0-nullsafety.3
collection-1.15.0-nullsafety.31.15.0-nullsafety.3
meta-1.3.0-nullsafety.31.3.0-nullsafety.4
sky_engine-0.0.990.0.99
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.3
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.3

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

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

6
likes
60
pub points
35%
popularity

Publisher

flutterista.dev

A Flutter plugin for Platform widgets. This package simplifies the usage of specific widgets for both Android and iOS.

Homepage
Repository (GitHub)
View/report issues

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on platform_widgets