flutter_platform_component 4.0.3 flutter_platform_component: ^4.0.3 copied to clipboard
Ready-made inherited component base using ready-made abstractions for quick use and decomposed by platform.
We analyzed this package 3 days ago, and awarded it 70 pub points (of a possible 160):
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
.
0/10 points: 20% or more of the public API has dartdoc comments
1612 out of 32375 API elements (5.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: bar_bottom_sheet
, bar_bottom_sheet.BarBottomSheet
, bar_bottom_sheet.BarBottomSheet.BarBottomSheet
, bar_bottom_sheet.BarBottomSheet.backgroundColor
, bar_bottom_sheet.BarBottomSheet.child
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_platform_component/flutter_platform_component.dart
that imports:package:flutter_platform_component/src/core/domain/lib.dart
that imports:package:flutter_platform_component/src/core/domain/entity/haptic/fpc_default_haptic.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_platform_component/flutter_platform_component.dart
that imports:package:flutter_platform_component/src/core/domain/lib.dart
that imports:package:flutter_platform_component/src/core/domain/entity/haptic/fpc_default_haptic.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_platform_component/flutter_platform_component.dart
that imports:package:flutter_platform_component/src/core/domain/lib.dart
that imports:package:flutter_platform_component/src/core/domain/entity/haptic/fpc_default_haptic.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_platform_component/flutter_platform_component.dart
that imports:package:flutter_platform_component/src/core/domain/lib.dart
that imports:package:flutter_platform_component/src/core/domain/entity/haptic/fpc_default_haptic.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 135 issues. Showing the first 2:
ERROR: 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.
lib/src/application/platform/sliding_segment_control/base/fpc_sliding_segment_control.dart:161:42
╷
161 │ CupertinoSlidingSegmentedControl<T>(
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/application/platform/sliding_segment_control/base/fpc_sliding_segment_control.dart
ERROR: A value of type 'CardThemeData?' can't be assigned to a variable of type 'CardTheme?'.
lib/src/utility/extension/fpc_build_context_extension.dart:164:34
╷
164 │ final CardTheme? cardTheme = materialThemeData?.cardTheme;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utility/extension/fpc_build_context_extension.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
animate_do |
3.3.0 |
3.3.0 | 3.3.4 |
animations |
2.0.11 |
2.0.11 | 2.0.11 |
badges |
3.1.2 |
3.1.2 | 3.1.2 |
dotted_border |
2.1.0 |
2.1.0 | 2.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_vibrate |
1.3.0 |
1.3.0 | 1.3.0 |
pinput |
3.0.1 |
3.0.1 | 5.0.0 |
pull_down_button |
0.9.3 |
0.9.3 | 0.10.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path_drawing |
- | 1.0.1 | 1.0.1 |
path_parsing |
- | 1.1.0 | 1.1.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
smart_auth |
- | 1.1.1 | 3.2.0 |
universal_platform |
- | 1.1.0 | 1.1.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `3.3.0` on animate_do does not support the stable version `3.3.1`.
Try running dart pub upgrade --major-versions animate_do
to update the constraint.
The constraint `3.0.1` on pinput does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pinput
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
TYPE_ARGUMENT_NOT_MATCHING_BOUNDS
-lib/src/application/platform/sliding_segment_control/base/fpc_sliding_segment_control.dart:161:42
- 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.INVALID_ASSIGNMENT
-lib/src/utility/extension/fpc_build_context_extension.dart:164:34
- A value of type 'CardThemeData?' can't be assigned to a variable of type 'CardTheme?'.INVALID_ASSIGNMENT
-lib/src/utility/extension/fpc_build_context_extension.dart:171:38
- A value of type 'DialogThemeData?' can't be assigned to a variable of type 'DialogTheme?'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.