card_settings 3.5.0 copy "card_settings: ^3.5.0" to clipboard
card_settings: ^3.5.0 copied to clipboard

A flutter package for building card based settings forms. This includes a library of pre-built form field widgets.

238
likes
70/ 160
pub points
291
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/codegrue/card_settings/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

328 out of 534 API elements (61.4 %) have documentation comments.

Some symbols that are missing documentation: card_field_layout, card_field_layout.CardFieldLayout.CardFieldLayout.new, card_settings.unimplemented, card_settings_button, card_settings_button.CardSettingsButton.CardSettingsButton.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:card_settings/card_settings.dart that imports:
  • package:card_settings/widgets/numeric_fields/card_settings_slider.dart that imports:
  • package:flutter_cupertino_settings/flutter_cupertino_settings.dart that imports:
  • dart:io

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

Package does not support platform `Android`.

Because:

  • package:card_settings/card_settings.dart that imports:
  • package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dart that imports:
  • package:flutter_material_pickers/flutter_material_pickers.dart that imports:
  • package:flutter_material_pickers/helpers/show_file_picker.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:card_settings/card_settings.dart that imports:
  • package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dart that imports:
  • package:flutter_material_pickers/flutter_material_pickers.dart that imports:
  • package:flutter_material_pickers/helpers/show_file_picker.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:card_settings/card_settings.dart that imports:
  • package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dart that imports:
  • package:flutter_material_pickers/flutter_material_pickers.dart that imports:
  • package:flutter_material_pickers/helpers/show_file_picker.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:card_settings/card_settings.dart that imports:
  • package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dart that imports:
  • package:flutter_material_pickers/flutter_material_pickers.dart that imports:
  • package:flutter_material_pickers/helpers/show_file_picker.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

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 61 issues. Showing the first 2:

ERROR: The argument type 'Object?' can't be assigned to the parameter type 'T?'.

lib/widgets/picker_fields/card_settings_list_picker.dart:37:27

   ╷
37 │             initialValue: initialItem ?? null,
   │                           ^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The argument type 'Object?' can't be assigned to the parameter type 'T?'.

lib/widgets/picker_fields/card_settings_radio_picker.dart:38:27

   ╷
38 │             initialValue: initialItem ?? null,
   │                           ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/picker_fields/card_settings_radio_picker.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
extended_masked_text ^2.3.1 2.3.2 3.0.1
flutter_cupertino_settings ^0.5.0 0.5.0 0.5.0
flutter_material_pickers ^3.5.0 3.6.0 3.7.0
flutter_multi_formatter ^2.10.4 2.13.7 2.13.7
intl ^0.18.0 0.18.1 0.20.2
meta ^1.8.0 1.16.0 1.17.0
pattern_formatter ^3.0.0 3.0.0 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
base58check - 2.0.0 2.0.0
bech32 - 0.2.2 0.2.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
cupertino_icons - 1.0.8 1.0.8
ffi - 2.1.4 2.1.4
file_picker - 5.5.0 10.2.0
flutter_colorpicker - 1.1.0 1.1.0
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
win32 - 5.14.0 5.14.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 `^2.3.1` on extended_masked_text does not support the stable version `3.0.0`.

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/widgets/picker_fields/card_settings_list_picker.dart:37:27 - The argument type 'Object?' can't be assigned to the parameter type 'T?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/widgets/picker_fields/card_settings_radio_picker.dart:38:27 - The argument type 'Object?' can't be assigned to the parameter type 'T?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/widgets/picker_fields/card_settings_selection_picker.dart:39:27 - The argument type 'Object?' can't be assigned to the parameter type '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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
238
likes
70
points
291
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package for building card based settings forms. This includes a library of pre-built form field widgets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

extended_masked_text, flutter, flutter_cupertino_settings, flutter_material_pickers, flutter_multi_formatter, flutter_web_plugins, intl, meta, pattern_formatter

More

Packages that depend on card_settings