flutter_platform_component 4.0.3 copy "flutter_platform_component: ^4.0.3" to clipboard
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.

15
likes
70/ 160
pub points
127
downloads

We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

1612 out of 32377 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.new, bar_bottom_sheet.BarBottomSheet.backgroundColor, bar_bottom_sheet.BarBottomSheet.child.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 148 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
animate_do 3.3.0 3.3.0 4.2.0
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 3.0.1
flutter_vibrate 1.3.0 1.3.0 1.3.0
pinput 3.0.1 3.0.1 5.0.1
pull_down_button 0.9.3 0.9.3 0.10.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
smart_auth - 1.1.1 3.2.0
universal_platform - 1.1.0 1.1.0
vector_math - 2.1.4 2.2.0

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

Found 4 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 `2.1.0` on dotted_border does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions dotted_border to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 7 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
15
likes
70
points
127
downloads

Publisher

unverified uploader

Weekly Downloads

Ready-made inherited component base using ready-made abstractions for quick use and decomposed by platform.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

animate_do, animations, badges, dotted_border, flutter, flutter_vibrate, pinput, pull_down_button

More

Packages that depend on flutter_platform_component