flutter_utils_code 0.1.1
flutter_utils_code: ^0.1.1 copied to clipboard
A Flutter utils package
We analyzed this package 1 hour ago, and awarded it 75 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: GPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 78 API elements (52.6 %) have documentation comments.
Some symbols that are missing documentation: bi_base, bi_utils, bi_widget, flutter_utils_code, flutter_utils_code.CupertinoLocalizationsDelegate.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
ERROR: Missing concrete implementations of 'abstract class CupertinoLocalizations.datePickerStandaloneMonth', 'getter abstract class CupertinoLocalizations.backButtonLabel', 'getter abstract class CupertinoLocalizations.cancelButtonLabel', 'getter abstract class CupertinoLocalizations.clearButtonLabel', and 5 more.
lib/src/widget/cupertino_localizations_delegate.dart:22:7
╷
22 │ class _DefaultCupertinoLocalizations extends CupertinoLocalizations {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/cupertino_localizations_delegate.dart
ERROR: '_DefaultCupertinoLocalizations.datePickerDayOfMonth' ('String Function(int)') isn't a valid override of 'CupertinoLocalizations.datePickerDayOfMonth' ('String Function(int, [int?])').
lib/src/widget/cupertino_localizations_delegate.dart:78:10
╷
78 │ String datePickerDayOfMonth(int dayIndex) =>
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/cupertino_localizations_delegate.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 2 errors:
NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER-lib/src/widget/cupertino_localizations_delegate.dart:22:7- Missing concrete implementations of 'abstract class CupertinoLocalizations.datePickerStandaloneMonth', 'getter abstract class CupertinoLocalizations.backButtonLabel', 'getter abstract class CupertinoLocalizations.cancelButtonLabel', 'getter abstract class CupertinoLocalizations.clearButtonLabel', and 5 more.INVALID_OVERRIDE-lib/src/widget/cupertino_localizations_delegate.dart:78:10- '_DefaultCupertinoLocalizations.datePickerDayOfMonth' ('String Function(int)') isn't a valid override of 'CupertinoLocalizations.datePickerDayOfMonth' ('String Function(int, [int?])').
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.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.