acme_theme 0.8.2 copy "acme_theme: ^0.8.2" to clipboard
acme_theme: ^0.8.2 copied to clipboard

A package to use the themes and components extracted from Acme Theme Builder.

80/ 160
pub points
26
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

139 out of 430 API elements (32.3 %) have documentation comments.

Some symbols that are missing documentation: acme_theme.AcmeThemeScope.builder, acme_theme.AcmeThemeScope.customColorsConverterCreator, acme_theme.AcmeThemeScope.overrideFn, acme_theme.AcmeThemeScope.source, acme_theme.AlertDialogConfig.

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:acme_theme/acme_theme.dart that imports:
  • package:acme_theme/src/theme_sync.dart that imports:
  • package:nsd/nsd.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:acme_theme/acme_theme.dart that imports:
  • package:acme_theme/src/scopes/scopes.dart that imports:
  • package:acme_theme/src/scopes/src/network_theme_scope.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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 5 issues. Showing the first 2:

ERROR: The argument type 'DialogTheme?' can't be assigned to the parameter type 'DialogThemeData?'.

lib/src/core/widgets/alert_dialog.dart:32:53

   ╷
32 │       data: Theme.of(context).copyWith(dialogTheme: config.theme),
   │                                                     ^^^^^^^^^^^^
   ╵

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

ERROR: The argument type 'CardTheme?' can't be assigned to the parameter type 'CardThemeData?'.

lib/src/core/widgets/card.dart:20:51

   ╷
20 │       data: Theme.of(context).copyWith(cardTheme: config.theme),
   │                                                   ^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
google_fonts ^6.2.1 6.3.3 6.3.3
http ^1.2.2 1.6.0 1.6.0
json_class ^3.0.1 3.0.1 3.0.1
json_theme ^7.0.0+1 7.0.0+3 11.0.0
meta >=1.11.0 <2.0.0 1.17.0 1.17.0
nsd ^4.0.3 4.1.0 4.1.0
path >=1.9.0 <2.0.0 1.9.1 1.9.1
path_provider ^2.1.5 2.1.5 2.1.5
shared_preferences ^2.3.4 2.5.4 2.5.4
web_socket_channel ^3.0.1 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
json_schema - 5.2.2 5.2.2
json_theme_annotation - 1.0.3+18 2.0.0+3
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
nested - 1.0.0 1.0.0
nsd_android - 2.2.0 2.2.0
nsd_ios - 2.0.1 2.0.1
nsd_macos - 2.0.1 2.0.1
nsd_platform_interface - 2.2.0 2.2.0
nsd_windows - 3.0.1 3.0.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^7.0.0+1` on json_theme does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions json_theme to update the constraint.

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 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/core/widgets/alert_dialog.dart:32:53 - The argument type 'DialogTheme?' can't be assigned to the parameter type 'DialogThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/core/widgets/card.dart:20:51 - The argument type 'CardTheme?' can't be assigned to the parameter type 'CardThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/core/widgets/dialog.dart:24:53 - The argument type 'DialogTheme?' can't be assigned to the parameter type 'DialogThemeData?'.

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:
3
likes
80
points
26
downloads

Publisher

verified publisheracmesoftware.com

Weekly Downloads

A package to use the themes and components extracted from Acme Theme Builder.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, google_fonts, http, json_class, json_theme, meta, nsd, path, path_provider, shared_preferences, web_socket_channel

More

Packages that depend on acme_theme