wx_button 1.0.0 copy "wx_button: ^1.0.0" to clipboard
wx_button: ^1.0.0 copied to clipboard

Restructure the Flutter Button to allow for simpler styling and theming, ensuring it's not limited to specific platforms.

1
likes
100/ 160
pub points
28
downloads

We analyzed this package 5 days ago, and awarded it 100 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

203 out of 230 API elements (88.3 %) have documentation comments.

Some symbols that are missing documentation: wx_button, wx_button.WxButtonEvent.WxButtonEvent.new, wx_button.WxButtonSeverity, wx_button.WxButtonStyle.disabledBackgroundAlpha, wx_button.WxButtonStyle.disabledBorderAlpha.

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

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

ERROR: Undefined name 'DrivenWidget'.

lib/src/render.dart:387:19

    ╷
387 │                 ? DrivenWidget.evaluate(
    │                   ^^^^^^^^^^^^
    ╵

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

ERROR: Undefined name 'DrivenWidget'.

lib/src/render.dart:393:19

    ╷
393 │                 ? DrivenWidget.evaluate(
    │                   ^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
widget_event ^1.3.3 1.11.0 2.0.1
wx_anchor ^1.3.0 1.3.0 2.1.1
wx_sheet ^3.1.1 3.1.1 4.8.0
wx_tile ^1.1.2 1.1.2 2.0.0
wx_utils ^0.0.4 0.0.4 0.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
animated_icon_theme - 1.0.4 1.0.4
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
lerp - 0.0.2 0.0.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
vector_math - 2.1.4 2.1.5
wx_box - 4.2.0 4.2.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 `^1.3.3` on widget_event does not support the stable version `2.0.0`.

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

The constraint `^1.3.0` on wx_anchor does not support the stable version `2.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
28
downloads

Publisher

verified publisherwidgetarian.com

Weekly Downloads

Restructure the Flutter Button to allow for simpler styling and theming, ensuring it's not limited to specific platforms.

Repository (GitHub)

Topics

#ui #button #event-driven #widgetarian

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

BSD-3-Clause (license)

Dependencies

flutter, widget_event, wx_anchor, wx_sheet, wx_tile, wx_utils

More

Packages that depend on wx_button