card_settings 3.5.0
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.
We analyzed this package 4 hours ago, and awarded it 70 pub points (of a possible 160):
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.
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_button, card_settings_button.CardSettingsButton.CardSettingsButton.new, card_settings_checkbox_picker.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:card_settings/widgets/numeric_fields/card_settings_slider.dartthat imports:package:flutter_cupertino_settings/flutter_cupertino_settings.dartthat 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.dartthat imports:package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dartthat imports:package:flutter_material_pickers/flutter_material_pickers.dartthat imports:package:flutter_material_pickers/helpers/show_file_picker.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:card_settings/card_settings.dartthat imports:package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dartthat imports:package:flutter_material_pickers/flutter_material_pickers.dartthat imports:package:flutter_material_pickers/helpers/show_file_picker.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:card_settings/card_settings.dartthat imports:package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dartthat imports:package:flutter_material_pickers/flutter_material_pickers.dartthat imports:package:flutter_material_pickers/helpers/show_file_picker.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:card_settings/card_settings.dartthat imports:package:card_settings/widgets/picker_fields/card_settings_checkbox_picker.dartthat imports:package:flutter_material_pickers/flutter_material_pickers.dartthat imports:package:flutter_material_pickers/helpers/show_file_picker.dartthat imports:package:file_picker/file_picker.dartthat imports:package:file_picker/src/file_picker.dartthat imports:package:file_picker/src/windows/file_picker_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 66 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
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.10 | 2.13.10 | |
intl |
^0.18.0 |
0.18.1 | 0.20.2 | |
meta |
^1.8.0 |
1.17.0 | 1.17.0 | |
pattern_formatter |
^3.0.0 |
3.0.0 | 4.0.1 |
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.7 | 3.0.7 | |
cupertino_icons |
- | 1.0.8 | 1.0.8 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file_picker |
- | 5.5.0 | 10.3.6 | |
flutter_colorpicker |
- | 1.1.0 | 1.1.0 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
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.2.0 | 2.2.0 | |
win32 |
- | 5.15.0 | 5.15.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.
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 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.23.2, Flutter 3.38.1, Dart 3.10.0.
Check the analysis log for details.