toast_notification 0.0.3
toast_notification: ^0.0.3 copied to clipboard
You know threads app? Well this toast notification is inspired from Threads toast notification style but also allows you to customize almost everything about it. Stay tuned with us for future updates on it.
We analyzed this package 2 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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 ("0.0.3").
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
6 out of 29 API elements (20.7 %) have documentation comments.
Some symbols that are missing documentation: ToasterController, ToasterController.ToasterController, ToasterController.ToasterController.ToasterController.new, ToasterController.ToasterController.end, ToasterController.ToasterController.setData.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 6 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: Toaster.data, Toaster.controller, Toaster.type, Toaster.duration, Toaster.textColor, Toaster.iconColor, Toaster.backgroundColor
lib/toast_notification.dart:13:7
╷
13 │ class Toaster extends StatefulWidget {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/toast_notification.dart
WARNING: The value of the local variable 'screenHeight' isn't used.
lib/toast_notification.dart:82:12
╷
82 │ double screenHeight = MediaQuery.of(context).size.height;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/toast_notification.dart
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.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.18.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.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.