fancy_button_flutter 1.0.3+1
fancy_button_flutter: ^1.0.3+1 copied to clipboard
Fancy Button Flutter with Icon. Create awesome button with combination of Icon and Text. It is flexible and you can design according to your need.
We analyzed this package 26 days ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.3+1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
14 out of 17 API elements (82.4 %) have documentation comments.
Some symbols that are missing documentation: fancy_button_flutter, fancy_button_flutter.FancyButton.FancyButton.new, fancy_button_flutter.FancyButton.onClick.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 28 issues. Showing the first 2:
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: FancyButton.button_icon, FancyButton.button_text, FancyButton.button_height, FancyButton.button_width, FancyButton.button_radius, FancyButton.button_color, FancyButton.button_outline_color, FancyButton.button_outline_width, FancyButton.button_text_color, FancyButton.button_icon_color, FancyButton.icon_size, FancyButton.button_text_size
lib/fancy_button_flutter.dart:6:7
╷
6 │ class FancyButton extends StatefulWidget {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fancy_button_flutter.dart
INFO: Redundant initialization to 'null'.
lib/fancy_button_flutter.dart:9:13
╷
9 │ IconData? button_icon = null;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fancy_button_flutter.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 |
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.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.