nga_sdk 4.4.5
nga_sdk: ^4.4.5 copied to clipboard
NGA SDK is an auxiliary SDK for Android(and Flutter for Android) development, aiming to provide a better development experience for NGAs.
We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
12 out of 166 API elements (7.2 %) 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: cu
, ext
, ext.NGALet
, ext.NGALet.let
, ext.NGAStr
.
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/cu/widget.dart:469:41
╷
469 │ ┌ WidgetsBinding.instance.addPostFrameCallback((final _) {
470 │ │ Scrollable.ensureVisible(
471 │ │ _miniKeys[entry.key].currentContext!,
472 │ │ duration: duration ?? const Duration(milliseconds: 150),
473 │ │ alignment: 0.5,
474 │ │ );
475 │ └ });
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cu/widget.dart
INFO: Statements in a for should be enclosed in a block.
lib/watermark.dart:80:7
╷
80 │ for (var x = -len; x < len; x += stepX) txtPainter.paint(canvas, Offset(x, y));
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/watermark.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_svg |
^2.2.0 |
2.2.1 | 2.2.1 | |
system_theme |
^3.1.2 |
3.1.2 | 3.1.2 | |
vector_graphics |
^1.1.19 |
1.1.19 | 1.1.19 | |
window_manager |
^0.5.1 |
0.5.1 | 0.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
screen_retriever |
- | 0.2.0 | 0.2.0 | |
screen_retriever_linux |
- | 0.2.0 | 0.2.0 | |
screen_retriever_macos |
- | 0.2.0 | 0.2.0 | |
screen_retriever_platform_interface |
- | 0.2.0 | 0.2.0 | |
screen_retriever_windows |
- | 0.2.0 | 0.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
system_theme_web |
- | 0.0.3 | 0.0.3 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.