flutter_platform_component 2.3.0 copy "flutter_platform_component: ^2.3.0" to clipboard
flutter_platform_component: ^2.3.0 copied to clipboard

outdated

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

70/ 160
pub points
44
downloads

We analyzed this package 35 hours 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

1091 out of 19438 API elements (5.6 %) 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: flutter_platform_component, flutter_platform_component.FPCAccentButton, flutter_platform_component.FPCAccentButton.FPCAccentButton.new, flutter_platform_component.FPCAccentButton.borderRadius, flutter_platform_component.FPCAccentButton.disabledColor.

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/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/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/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/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.cn/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 73 issues. Showing the first 2:

ERROR: The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'.

lib/src/presentation/picker/fpc_date_picker.dart:150:22

    ╷
150 │           dialogTheme: DialogTheme(
    │ ┌──────────────────────^
151 │ │           elevation: 0,
152 │ │           backgroundColor: backgroundColor,
153 │ │           shape: RoundedRectangleBorder(
154 │ │             borderRadius: borderRadius,
155 │ │           ),
156 │ │           actionsPadding: EdgeInsets.zero,
157 │ │         ),
    │ └─────────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/picker/fpc_date_picker.dart

ERROR: 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.

lib/src/presentation/sliding_segment_control/basic/fpc_basic_sliding_segment_control.dart:168:42

    ╷
168 │         CupertinoSlidingSegmentedControl<T>(
    │                                          ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/sliding_segment_control/basic/fpc_basic_sliding_segment_control.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.0.2 3.0.2 4.2.0
animations 2.0.7 2.0.7 2.1.0
badges 3.1.1 3.1.1 3.1.2
collection any 1.19.1 1.19.1
flutter_vibrate 1.3.0 1.3.0 1.3.0
modal_bottom_sheet 3.0.0-pre 3.0.0-pre 3.0.0
pinput 2.2.31 2.2.31 5.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
smart_auth - 1.1.1 3.2.0
universal_platform - 1.1.0 1.1.0
vector_math - 2.2.0 2.2.0

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

Found 5 issues. Showing the first 2:

The constraint `3.0.2` on animate_do does not support the stable version `3.1.0`.

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

The constraint `2.0.7` on animations does not support the stable version `2.0.8`.

Try running dart pub upgrade --major-versions animations 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 2 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/presentation/picker/fpc_date_picker.dart:150:22 - The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'.
  • TYPE_ARGUMENT_NOT_MATCHING_BOUNDS - lib/src/presentation/sliding_segment_control/basic/fpc_basic_sliding_segment_control.dart:168:42 - 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.

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.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

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

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

animate_do, animations, badges, collection, flutter, flutter_vibrate, modal_bottom_sheet, pinput

More

Packages that depend on flutter_platform_component