mirai 0.8.0
mirai: ^0.8.0 copied to clipboard
Mirai is a Server-Driven UI (SDUI) framework for Flutter. Mirai allows you to build beautiful cross-platform applications with JSON in real time.
We analyzed this package 22 hours ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: mirai, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: mirai.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
196 out of 1818 API elements (10.8 %) 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: mirai, mirai.BottomNavigationController, mirai.BottomNavigationController.BottomNavigationController.new, mirai.BottomNavigationController.index, mirai.BottomNavigationController.initialIndex.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:mirai/mirai.dartthat imports:package:mirai/src/services/services.dartthat imports:package:mirai/src/services/mirai_network_service.dartthat imports:package:mirai/src/framework/framework.dartthat imports:package:mirai/src/framework/mirai_registry.dartthat imports:package:mirai/src/utils/log.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
ERROR: The argument type 'DialogTheme?' can't be assigned to the parameter type 'DialogThemeData?'.
lib/src/parsers/mirai_theme/mirai_theme.dart:113:20
╷
113 │ dialogTheme: dialogTheme?.parse(context),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/parsers/mirai_theme/mirai_theme.dart
ERROR: The argument type 'BottomAppBarTheme?' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
lib/src/parsers/mirai_theme/mirai_theme.dart:117:26
╷
117 │ bottomAppBarTheme: bottomAppBarTheme?.parse(context),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/parsers/mirai_theme/mirai_theme.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.7.0 |
5.9.0 | 5.9.0 | |
freezed_annotation |
^2.4.4 |
2.4.4 | 3.1.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
logger |
^2.5.0 |
2.6.2 | 2.6.2 | |
mirai_framework |
^0.0.1 |
0.0.3 | 0.0.3 | Discontinued |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- mirai_framework.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/parsers/mirai_theme/mirai_theme.dart:113:20- The argument type 'DialogTheme?' can't be assigned to the parameter type 'DialogThemeData?'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/parsers/mirai_theme/mirai_theme.dart:117:26- The argument type 'BottomAppBarTheme?' can't be assigned to the parameter type 'BottomAppBarThemeData?'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/parsers/mirai_theme/mirai_theme.dart:120:18- The argument type 'CardTheme?' can't be assigned to the parameter type 'CardThemeData?'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.