modern_themes 2.0.0
modern_themes: ^2.0.0 copied to clipboard
A Package to implement, change and use Themes. This Package uses the most modern Material Design to create beautiful Themes
We analyzed this package 17 days ago, and awarded it 80 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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting modern_themes... Discovering libraries... Linking elements... Precaching local docs for 643519 elements... Initialized dartdoc with 801 libraries Generating docs for library modern_themes_comps.dart from package:modern_themes/modern_themes_comps.dart... Generating docs for library modern_themes.dart from package:modern_themes/modern_themes.dart... Documented 2 public libraries in 59.1 seconds ERR: warning: ambiguous reexport of modern_themes.Coloring, canonicalization candidates: (modern_themes, modern_themes) -> modern_themes (confidence 0.000) from modern_themes.Coloring: (file:///tmp/pana_CBVTDO/lib/src/components/coloring.dart:10:7) modern_themes: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) modern_themes: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor modern_themes.Coloring} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [34 more lines]
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 21 issues. Showing the first 2:
ERROR: The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
lib/src/themes.dart:246:28
╷
246 │ bottomAppBarTheme: const BottomAppBarTheme(),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/themes.dart
ERROR: The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
lib/src/themes.dart:581:28
╷
581 │ bottomAppBarTheme: const BottomAppBarTheme(),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/themes.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
helpful_extensions |
^0.5.1 |
0.5.1 | 0.5.1 |
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 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/themes.dart:246:28- The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/themes.dart:581:28- 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.