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 3 days ago, and awarded it 70 pub points (of a possible 160):
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.
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 502 API elements (65.3 %) have documentation comments.
Some symbols that are missing documentation: card_field_layout
, card_settings_button
, card_settings_checkbox_picker
, card_settings_color_picker
, card_settings_currency
.
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.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
.
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 60 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 |
---|---|---|---|
extended_masked_text |
^2.3.1 |
2.3.2 | 3.0.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
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.0 | 2.13.0 |
flutter_web_plugins |
flutter |
0.0.0 | 0.0.0 |
intl |
^0.18.0 |
0.18.1 | 0.20.0 |
meta |
^1.8.0 |
1.15.0 | 1.16.0 |
pattern_formatter |
^3.0.0 |
3.0.0 | 4.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
base58check |
- | 2.0.0 | 2.0.0 |
bech32 |
- | 0.2.2 | 0.2.2 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.18.0 | 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.3 | 2.1.3 |
file_picker |
- | 5.5.0 | 8.1.4 |
flutter_colorpicker |
- | 1.1.0 | 1.1.0 |
flutter_plugin_android_lifecycle |
- | 2.0.23 | 2.0.23 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
win32 |
- | 5.8.0 | 5.8.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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.