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

ms_widgets is a package that help you to build easy widgets

4
likes
70/ 160
pub points
47
downloads

We analyzed this package 2 days ago, and awarded it 70 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: Apache-2.0.

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

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

18 out of 135 API elements (13.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: ms_widgets, ms_widgets.BoardingModel, ms_widgets.BoardingModel.BoardingModel.new, ms_widgets.BoardingModel.body, ms_widgets.BoardingModel.image.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:ms_widgets/ms_widgets.dart that imports:
  • package:ms_widgets/src/widgets.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:ms_widgets/ms_widgets.dart that imports:
  • package:ms_widgets/src/widgets.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:ms_widgets/ms_widgets.dart that imports:
  • package:ms_widgets/src/widgets.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.

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

Package not compatible with platform Web

Because:

  • package:ms_widgets/ms_widgets.dart that imports:
  • package:ms_widgets/src/widgets.dart that imports:
  • package:fluttertoast/fluttertoast.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 18 issues. Showing the first 2:

ERROR: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'.

lib/src/widgets.dart:212:23

    ╷
212 │         borderRadius: borderRadius,
    │                       ^^^^^^^^^^^^
    ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: defaultButton.buttonWidth, defaultButton.buttonHeight, defaultButton.borderWidth, defaultButton.backgroundColor, defaultButton.hoverColor, defaultButton.borderColor, defaultButton.isUpperCase, defaultButton.function, defaultButton.text, defaultButton.textStyle

lib/src/widgets.dart:233:7

    ╷
233 │ class defaultButton extends StatelessWidget {
    │       ^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
fluttertoast ^8.0.9 8.2.12 8.2.12
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/widgets.dart:212:23 - The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'.

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:
4
likes
70
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

ms_widgets is a package that help you to build easy widgets

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, fluttertoast

More

Packages that depend on ms_widgets