asbutton 0.0.1
asbutton: ^0.0.1

Flutter Android iOS web

A flutter package ASButton is a delightful library for different type of button i.e with custom image, Ssystem Icon, custom text, background color with corner radius

0
likes
70 / 110
pub points
0 %
popularity

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

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://bitbucket.org/atharvasystems/flutter-widgets/src/master/asbutton/ was unreachable.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

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

  • 3 out of 70 API elements (4.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.

Support multiple platforms
20 / 20

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

Pass static analysis
20 / 30

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

Found 4 issues. Showing the first 2:

INFO: 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: ASButton.cornerRadius, ASButton.btnText, ASButton.btnColor, ASButton.btnSplashColor, ASButton.btnHighlightColor, ASButton.txtColor, ASButton.txtFontFamily, ASButton.txtFontWeight, ASButton.txtFontStyle, ASButton.txtFontSize, ASButton.defaultRadius, ASButton.defaultTxtColor

lib/asbutton.dart:4:7

  ╷
4 │ class ASButton extends StatelessWidget {
  │       ^^^^^^^^
  ╵

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

INFO: 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: ASButtonCustomIcon.imagePath, ASButtonCustomIcon.shapeBorder, ASButtonCustomIcon.btnColor, ASButtonCustomIcon.btnSplashColor, ASButtonCustomIcon.btnHighlightColor

lib/asbutton.dart:61:7

   ╷
61 │ class ASButtonCustomIcon extends StatelessWidget {
   │       ^^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

No dependencies.

Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
meta-1.3.0-nullsafety.61.3.0-nullsafety.6
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

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

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

0
likes
70
pub points
0%
popularity

A flutter package ASButton is a delightful library for different type of button i.e with custom image, Ssystem Icon, custom text, background color with corner radius

Homepage

Documentation

API reference

Uploader

ketul@atharvasystem.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on asbutton