wx_alert 1.0.1 copy "wx_alert: ^1.0.1" to clipboard
wx_alert: ^1.0.1 copied to clipboard

A concise and impactful widget designed to capture user focus with a crucial, unchanging message.

0
likes
110/ 160
pub points
20
downloads

We analyzed this package 6 hours ago, and awarded it 110 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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

633 out of 688 API elements (92.0 %) have documentation comments.

Some symbols that are missing documentation: wx_alert, wx_alert.WxAlert.getInheritedStyle, wx_alert.WxAlert.getParentStyle, wx_alert.WxAlert.getParentTheme, wx_alert.WxAlertSize.

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

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
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: 'WxAlertStyle.copyWith' ('WxAlertStyle Function({bool? adaptiveForegroundColor, bool? adaptiveSpacing, Alignment? alignment, int? backgroundAlpha, Color? backgroundColor, double? backgroundOpacity, OutlinedBorder? border, int? borderAlpha, Color? borderColor, double? borderOffset, double? borderOpacity, BorderRadius? borderRadius, BorderStyle? borderStyle, double? borderWidth, Color? checkmarkColor, double? checkmarkSize, double? checkmarkWeight, Clip? clipBehavior, Axis? direction, double? elevation, Color? elevationColor, bool? flipX, bool? flipY, int? foregroundAlpha, Color? foregroundColor, double? foregroundOpacity, Gradient? gradient, double? height, Color? iconColor, double? iconOpacity, double? iconSize, DecorationImage? image, EdgeInsetsGeometry? margin, double? maxHeight, double? maxWidth, double? minHeight, double? minWidth, Offset? offset, double? opacity, Color? overlayColor, Size? overlayExtent, double? overlayOpacity, ShapeBorder? overlayShape, EdgeInsetsGeometry? padding, double? rotate, double? scale, Color? severity, List

lib/src/style.dart:94:16

   ╷
94 │   WxAlertStyle copyWith({
   │                ^^^^^^^^
   ╵

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

ERROR: 'WxDrivenAlertStyle.copyWith' ('WxDrivenAlertStyle Function({bool? adaptiveForegroundColor, bool? adaptiveSpacing, Alignment? alignment, int? backgroundAlpha, Color? backgroundColor, double? backgroundOpacity, OutlinedBorder? border, int? borderAlpha, Color? borderColor, double? borderOffset, double? borderOpacity, BorderRadius? borderRadius, BorderStyle? borderStyle, double? borderWidth, Color? checkmarkColor, double? checkmarkSize, double? checkmarkWeight, Clip? clipBehavior, Axis? direction, WxAlertStyle? disabledStyle, double? elevation, Color? elevationColor, bool? flipX, bool? flipY, WxAlertStyle? focusedStyle, int? foregroundAlpha, Color? foregroundColor, double? foregroundOpacity, Gradient? gradient, double? height, WxAlertStyle? hoveredStyle, Color? iconColor, double? iconOpacity, double? iconSize, DecorationImage? image, bool? inherits, WxAlertStyle? loadingStyle, EdgeInsetsGeometry? margin, double? maxHeight, double? maxWidth, double? minHeight, double? minWidth, Offset? offset, double? opacity, Color? overlayColor, Size? overlayExtent, double? overlayOpacity, ShapeBorder? overlayShape, EdgeInsetsGeometry? padding, WxAlertStyle? pressedStyle, double? rotate, double? scale, Color? severity, List

lib/src/style_driven.dart:167:22

    ╷
167 │   WxDrivenAlertStyle copyWith({
    │                      ^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
wx_sheet ^4.7.0 4.8.0 4.8.0
Transitive dependencies
Package Constraint Compatible Latest
animated_checkmark - 3.1.0 3.1.0
animated_icon_theme - 1.0.4 1.0.4
animated_transform - 1.0.6 1.0.6
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
lerp - 0.0.2 0.0.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
widget_event - 2.0.1 2.0.1
wx_anchor - 2.1.1 2.1.1
wx_box - 4.2.0 4.2.0
wx_tile - 2.0.0 2.0.0
wx_utils - 0.0.4 0.0.4

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

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.1, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
20
downloads

Publisher

verified publisherwidgetarian.com

Weekly Downloads

A concise and impactful widget designed to capture user focus with a crucial, unchanging message.

Repository (GitHub)
View/report issues

Topics

#ui #alert #event-driven #widgetarian

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

BSD-3-Clause (license)

Dependencies

flutter, wx_sheet

More

Packages that depend on wx_alert