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).

7
likes
130/ 160
pub points
2.96k
downloads

We analyzed this package 33 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

1341 out of 1583 API elements (84.7 %) have documentation comments.

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/map/map.dart that imports:
  • package:layrz_models/layrz_models.dart that imports:
  • package:layrz_models/src/i18n/i18n.dart that imports:
  • package:layrz_models/src/i18n/src/detection/native.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 172 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/buttons/src/button.dart:470:7

    ╷
470 │       default:
    │       ^^^^^^^
    ╵

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

WARNING: This default clause is covered by the previous cases.

lib/src/inputs/src/general/dynamic_avatar_input.dart:373:7

    ╷
373 │       default:
    │       ^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
code_text_field >=1.1.0 <2.0.0 1.1.0 1.1.0
collection >=1.18.0 <2.0.0 1.19.0 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.1.6 8.1.6
flex_color_picker >=3.5.0 <4.0.0 3.6.0 3.6.0
flutter flutter 0.0.0 0.0.0
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 7.0.2
flutter_map_cancellable_tile_provider >=2.0.0 <3.0.0 2.0.0 3.0.2
flutter_svg >=2.0.10+1 <3.0.0 2.0.16 2.0.16
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.2.2 1.2.2
intl >=0.19.0 <1.0.0 0.20.1 0.20.1
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.3.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.3.1 11.3.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.3.4 2.3.4
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
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
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.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
flex_seed_scheme - 3.4.1 3.4.1
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
linked_scroll_controller - 0.2.0 0.2.0
lists - 1.0.1 1.0.1
logger - 2.5.0 2.5.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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.15 2.2.15
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.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
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.2+1 0.10.2+1
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.0 2.4.0
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.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
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 0.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
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.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
wkt_parser - 2.0.0 2.0.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

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.

The constraint `>=2.0.0 <3.0.0` on flutter_map_cancellable_tile_provider does not support the stable version `3.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.