self_widget 0.0.3
self_widget: ^0.0.3

Flutter Android iOS web

A new Flutter package.

60 / 110
pub points
0 %

We analyzed this package on Nov 24, 2020, and awarded it 60 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid

5/5 points: Provide a valid

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 15 out of 135 API elements (11.1 %) 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.

Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Found 4 issues. Showing the first 2:

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows


  • package:self_widget/self_widget.dart that imports:
  • package:self_widget/widgets/Utils/toast_snackbar.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web
Pass static analysis
20 / 30

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

Found 5 issues. Showing the first 2:

INFO: 'showSnackBar' is deprecated and shouldn't be used. Use ScaffoldMessenger.showSnackBar. This feature was deprecated after v1.23.0-14.0.pre..


19 │     Scaffold.of(context).showSnackBar(SnackBar(
   │                          ^^^^^^^^^^^^

To reproduce make sure you are using pedantic and run flutter analyze lib/widgets/Utils/toast_snackbar.dart

INFO: 'title' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline6. This feature was deprecated after v1.13.8..


21 │         style: Theme.of(context).textTheme.title.copyWith(
   │                                            ^^^^^

To reproduce make sure you are using pedantic and run flutter analyze lib/widgets/buttons/SmallButton.dart

Support up-to-date dependencies
10 / 20

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

Transitive dependencies

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

The constraint `^4.0.1` on fluttertoast does not support the latest published version `7.1.4`


13 │   fluttertoast: ^4.0.1
   │                 ^^^^^^

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