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

discontinued

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

1
likes
80/ 160
pub points
0%
popularity

We analyzed this package 4 hours ago, and awarded it 80 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

47 out of 205 API elements (22.9 %) 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
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 26 issues. Showing the first 2:

ERROR: The getter 'bodyText2' isn't defined for the type 'TextTheme'.

lib/src/config/config.dart:4:33

  ╷
4 │     Theme.of(context).textTheme.bodyText2?.fontFamily;
  │                                 ^^^^^^^^^
  ╵

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

ERROR: The getter 'bodyText2' isn't defined for the type 'TextTheme'.

lib/src/widgets/dropdown_button.dart:51:54

   ╷
51 │               ? material.Theme.of(context).textTheme.bodyText2!.color
   │                                                      ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
assorted_layout_widgets ^6.1.1 6.1.1 9.0.1
collection ^1.16.0 1.18.0 1.19.0
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.0.1 8.1.6 8.1.6
resolve_font_height ^1.0.1 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 `^6.1.1` on assorted_layout_widgets does not support the stable version `7.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 13 errors:

  • UNDEFINED_GETTER - lib/src/config/config.dart:4:33 - The getter 'bodyText2' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/widgets/dropdown_button.dart:51:54 - The getter 'bodyText2' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/widgets/dropdown_button.dart:52:54 - The getter 'caption' isn't defined for the type 'TextTheme'.

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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.