flutter_adaptive 4.1.0 copy "flutter_adaptive: ^4.1.0" to clipboard
flutter_adaptive: ^4.1.0 copied to clipboard

discontinued

A series of widgets and utilities that adapt to the current platform.

1
likes
140/ 160
pub points
117
downloads

We analyzed this package 2 days ago, and awarded it 140 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

46 out of 163 API elements (28.2 %) have documentation comments.

Some symbols that are missing documentation: flutter_adaptive.ActionSheetItem, flutter_adaptive.ActionSheetItem.ActionSheetItem.new, flutter_adaptive.ActionSheetItem.isDestructive, flutter_adaptive.ActionSheetItem.onPressed, flutter_adaptive.ActionSheetItem.title.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_adaptive/flutter_adaptive.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_adaptive/flutter_adaptive.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_adaptive/flutter_adaptive.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flutter_adaptive/flutter_adaptive.dart that imports:
  • package:flutter_adaptive/src/widgets/toggle_buttons.dart that imports:
  • package:assorted_layout_widgets/assorted_layout_widgets.dart that imports:
  • package:assorted_layout_widgets/src/keyboard_dismiss.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_adaptive/flutter_adaptive.dart that imports:
  • package:flutter_adaptive/src/widgets/toggle_buttons.dart that imports:
  • package:assorted_layout_widgets/assorted_layout_widgets.dart that imports:
  • package:assorted_layout_widgets/src/keyboard_dismiss.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 18 issues. Showing the first 2:

INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/utilities/show_dialog.dart:49:45

   ╷
49 │                           padding: material.MaterialStateProperty.all(
   │                                             ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utilities/show_dialog.dart

INFO: 'MaterialState' is deprecated and shouldn't be used. Use WidgetState instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/utilities/show_dialog.dart:64:42

   ╷
64 │                       .resolve({material.MaterialState.selected})
   │                                          ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utilities/show_dialog.dart

Failed report section
Support up-to-date dependencies
30 / 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
adaptive_icons ^1.4.0 1.4.0 1.4.0 Discontinued
assorted_layout_widgets ^7.0.0 7.0.1 11.0.0
collection ^1.17.0 1.19.1 1.19.1
flutter_bloc ^8.1.1 8.1.6 9.1.1
resolve_font_height ^1.0.2 1.0.2 1.0.2 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
bloc - 8.1.4 9.0.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
material_color_utilities - 0.11.1 0.13.0
matrix4_transform - 2.0.1 4.0.1
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
provider - 6.1.5 6.1.5
vector_math - 2.1.4 2.2.0

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

Found 3 issues. Showing the first 2:

The constraint `^7.0.0` on assorted_layout_widgets does not support the stable version `8.0.0`.

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

The constraint `^8.1.1` on flutter_bloc does not support the stable version `9.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

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:
1
likes
140
points
117
downloads

Publisher

verified publisherzippa.pizza

Weekly Downloads

A series of widgets and utilities that adapt to the current platform.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

adaptive_icons, assorted_layout_widgets, collection, flutter, flutter_bloc, resolve_font_height

More

Packages that depend on flutter_adaptive