layrz_theme 5.0.19 copy "layrz_theme: ^5.0.19" to clipboard
layrz_theme: ^5.0.19 copied to clipboard

Layrz standard theme library for Flutter, based on Material You (Material 3).

10
likes
80/ 160
pub points
2.01k
downloads

We analyzed this package 3 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: MIT.

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

1341 out of 1587 API elements (84.5 %) have documentation comments.

Some symbols that are missing documentation: layrz_theme, layrz_theme.ContainCamera, layrz_theme.CredentialOnChanged, layrz_theme.DateTimeExtension.standard, layrz_theme.Emoji.Emoji.new.

Passed check 10/10 points: Package has an example

Failed 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

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/scaffolds/scaffolds.dart that imports:
  • package:layrz_theme/src/inputs/inputs.dart that imports:
  • package:pointer_interceptor/pointer_interceptor.dart that declares support for platforms: iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package not compatible with platform Web

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/map/map.dart that imports:
  • package:flutter_map_cancellable_tile_provider/flutter_map_cancellable_tile_provider.dart that imports:
  • package:flutter_map_cancellable_tile_provider/src/tile_provider.dart that imports:
  • package:flutter_map_cancellable_tile_provider/src/image_provider.dart that imports:
  • package:flutter_map/flutter_map.dart that imports:
  • package:flutter_map/src/map/widget.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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 100 issues. Showing the first 2:

ERROR: The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.

lib/src/inputs/src/general/dynamic_avatar_input.dart:195:32

    ╷
195 │                   tabBarTheme: const TabBarTheme(tabAlignment: TabAlignment.start),
    │                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.

lib/src/theme/src/dark_theme.dart:104:18

    ╷
104 │       tabBarTheme: TabBarTheme(
    │ ┌──────────────────^
105 │ │       labelColor: Colors.white,
106 │ │       unselectedLabelColor: Colors.grey.shade500,
107 │ │       dividerColor: Colors.transparent,
108 │ │     ),
    │ └─────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/theme/src/dark_theme.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
code_text_field >=1.1.0 <2.0.0 1.1.0 1.1.0
collection >=1.18.0 <2.0.0 1.19.1 1.19.1
emojis >=0.9.9 <1.0.0 0.9.9 0.9.9
file >=6.1.4 <8.0.0 7.0.1 7.0.1
file_picker >=8.0.3 <9.0.0 8.3.7 10.2.0
flex_color_picker >=3.5.0 <4.0.0 3.7.1 3.7.1
flutter_highlight >=0.7.0 <1.0.0 0.7.0 0.7.0
flutter_map >=6.2.0 <7.0.0 6.2.1 8.1.1
flutter_map_cancellable_tile_provider >=2.0.0 <3.0.0 2.0.0 3.1.0
flutter_svg >=2.0.10+1 <3.0.0 2.2.0 2.2.0
google_fonts >=6.2.1 <7.0.0 6.2.1 6.2.1
highlight >=0.7.0 <1.0.0 0.7.0 0.7.0
http >=1.2.1 <2.0.0 1.4.0 1.4.0
intl >=0.19.0 <1.0.0 0.20.2 0.20.2
latlong2 >=0.9.1 <1.0.0 0.9.1 0.9.1
layrz_models >=2.1.68 <3.0.0 2.1.91 3.4.15
material_design_icons_flutter >=7.0.7296 7.0.7296 7.0.7296
mime >=1.0.0 <2.0.0 1.0.6 2.0.0
path_provider >=2.1.3 <3.0.0 2.1.5 2.1.5
permission_handler >=11.3.1 <12.0.0 11.4.0 12.0.1
pointer_interceptor >=0.10.1+1 <1.0.0 0.10.1+2 0.10.1+2
shared_preferences >=2.2.3 <3.0.0 2.5.3 2.5.3
simple_shadow >=0.3.1 <0.4.0 0.3.1 0.3.1
url_launcher >=6.2.6 <7.0.0 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dio - 5.8.0+1 5.8.0+1
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
flex_seed_scheme - 3.5.1 3.5.1
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
freezed_annotation - 2.4.4 3.1.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
linked_scroll_controller - 0.2.0 0.2.0
lists - 1.0.1 1.0.1 Discontinued
logger - 2.6.0 2.6.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mgrs_dart - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.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
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointer_interceptor_ios - 0.10.1 0.10.1
pointer_interceptor_platform_interface - 0.10.0+1 0.10.0+1
pointer_interceptor_web - 0.10.3 0.10.3
polylabel - 1.0.1 1.0.1
proj4dart - 2.1.0 2.1.0
recase - 4.1.0 4.1.0
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
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
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.8
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.17 1.1.17
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
wkt_parser - 2.0.0 2.0.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.0

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

Found 6 issues. Showing the first 2:

The constraint `>=8.0.3 <9.0.0` on file_picker does not support the stable version `9.0.0`.

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

The constraint `>=6.2.0 <7.0.0` on flutter_map does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions flutter_map 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 7 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/inputs/src/general/dynamic_avatar_input.dart:195:32 - The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/theme/src/dark_theme.dart:104:18 - The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/theme/src/dark_theme.dart:111:18 - 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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: