flutter_themez 1.2.2
flutter_themez: ^1.2.2 copied to clipboard
A simple wrapper for Flutter's ThemeData. Including "light" and "dark".
We analyzed this package 23 days ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository URL mismatch: expected https://github.com/mj12358/flutter-theme but got https://github.com/mj12358/flutter-themez.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: flutter_themez, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Funding URL doesn't exist.
At the time of the analysis https://www.buymeacoffee.com/mj12358 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
7 out of 8 API elements (87.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_themez.
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 24 issues. Showing the first 2:
ERROR: The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
lib/src/flutter_themez.dart:47:26
╷
47 │ bottomAppBarTheme: _bottomAppBarTheme(),
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_themez.dart
ERROR: The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.
lib/src/flutter_themez.dart:65:20
╷
65 │ tabBarTheme: _lightTabBarTheme(),
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_themez.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.17.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 4 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/flutter_themez.dart:47:26- The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/flutter_themez.dart:65:20- The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/flutter_themez.dart:75:26- The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.