modern_themes 1.5.4 copy "modern_themes: ^1.5.4" to clipboard
modern_themes: ^1.5.4 copied to clipboard

outdated

A Package to implement, change and use Themes. This Package uses the most modern Material Design to create beautiful Themes

75/ 160
pub points
21
downloads

We analyzed this package 18 days ago, and awarded it 75 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.5.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 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 57.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_UGYJSW/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]

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 49 issues. Showing the first 2:

ERROR: The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.

lib/src/themes.dart:247:28

    ╷
247 │         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 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'.

lib/src/themes.dart:342:22

    ╷
342 │           dialogTheme: DialogTheme(
    │ ┌──────────────────────^
343 │ │           alignment: Alignment.center,
344 │ │           backgroundColor: Colors.white,
345 │ │           elevation: 25.0,
346 │ │           shape: RoundedRectangleBorder(
347 │ │             borderRadius: const BorderRadius.all(
348 │ │               Radius.circular(20),
349 │ │             ),
350 │ │             side: BorderSide(
351 │ │               color: Coloring.mainColor,
352 │ │               style: BorderStyle.solid,
353 │ │               width: 0.1,
354 │ │             ),
355 │ │           ),
356 │ │         ),
    │ └─────────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/themes.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
helpful_extensions ^0.5.0 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/themes.dart:247:28 - The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/themes.dart:342:22 - The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/themes.dart:583: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.

Weekly downloads

Display as:
By versions:
2
likes
75
points
21
downloads

Publisher

verified publisherjulianschumacher.dev

Weekly Downloads

A Package to implement, change and use Themes. This Package uses the most modern Material Design to create beautiful Themes

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, helpful_extensions

More

Packages that depend on modern_themes