flutter_status_widget 0.0.7 copy "flutter_status_widget: ^0.0.7" to clipboard
flutter_status_widget: ^0.0.7 copied to clipboard

状态页管理库(Flutter Widget),支持 Loading/Success/Error/Empty 四种状态切换,提供全局默认页面配置、独立页面覆盖与自定义内容回调功能。

125/ 160
pub points
31
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.ctbiyi.com/appgroup/flutter/baselib/flutter_status_widget was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting flutter_status_widget... Discovering libraries... Linking elements... Precaching local docs for 654368 elements... Initialized dartdoc with 805 libraries Generating docs for library flutter_status_widget.dart from package:flutter_status_widget/flutter_status_widget.dart... Generating docs for library status_widget.dart from package:flutter_status_widget/status_widget.dart... Documented 2 public libraries in 54.8 seconds ERR: warning: ambiguous reexport of flutter_status_widget.success, canonicalization candidates: (flutter_status_widget, flutter_status_widget) -> flutter_status_widget (confidence 0.000) from flutter_status_widget.success: (file:///tmp/pana_VPSWCB/lib/src/status_config.dart:5:11) flutter_status_widget: 2.210 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) flutter_status_widget: 2.210 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) Use {@canonicalFor flutter_status_widget.success} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [60 more lines]

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/src/status_layout.dart:111:21

    ╷
111 │   void showSuccess({data}) {
    │                     ^^^^
    ╵

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

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

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

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.2 2.4.2

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

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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
125
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

状态页管理库(Flutter Widget),支持 Loading/Success/Error/Empty 四种状态切换,提供全局默认页面配置、独立页面覆盖与自定义内容回调功能。

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_status_widget