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

discontinued

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

1
likes
140/ 160
pub points
0%
popularity

We analyzed this package 8 hours ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

46 out of 150 API elements (30.7 %) have documentation comments.

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

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 13 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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
adaptive_icons ^1.4.0 1.4.0 1.4.0
assorted_layout_widgets ^7.0.0 7.0.1 9.0.1
collection ^1.17.0 1.18.0 1.19.0
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.1 8.1.6 8.1.6
resolve_font_height ^1.0.2 1.0.2 1.0.2
Transitive dependencies
Package Constraint Compatible Latest
bloc - 8.1.4 8.1.4
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
material_color_utilities - 0.8.0 0.12.0
matrix4_transform - 2.0.1 3.0.1
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
provider - 6.1.2 6.1.2
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.