termare_view 0.0.6 termare_view: ^0.0.6 copied to clipboard
终端模拟器上册组件。
We analyzed this package 18 hours ago, and awarded it 65 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 6 links are insecure.
README.md:53:5
╷
53 │ <li><a href="http://invisible-island.net/xterm/ctlseqs/ctlseqs.html">XTerm control sequences</a></li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
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
7 out of 134 API elements (5.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: termare_view
, termare_view.SequencesTest
, termare_view.SequencesTest.SequencesTest
, termare_view.SequencesTest.getTestChar
, termare_view.SequencesTest.test256Color
.
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
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 61 issues. Showing the first 2:
ERROR: The argument type 'TerminalTextInputClient' can't be assigned to the parameter type 'TextInputClient'.
lib/src/widget/input_listener.dart:165:32
╷
165 │ _conn = TextInput.attach(client, config);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/input_listener.dart
ERROR: Classes can only extend other classes.
lib/src/widget/input_listener.dart:200:39
╷
200 │ class TerminalTextInputClient extends TextInputClient {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/input_listener.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.15.0 |
1.18.0 | 1.19.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
quiver |
^3.0.1 |
3.2.2 | 3.2.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
boolean_selector |
- | 2.1.2 | 2.1.2 |
characters |
- | 1.3.0 | 1.3.1 |
matcher |
- | 0.12.17 | 0.12.17 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.4 | 0.7.4 |
vector_math |
- | 2.1.4 | 2.1.4 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/src/widget/input_listener.dart:165:32
- The argument type 'TerminalTextInputClient' can't be assigned to the parameter type 'TextInputClient'.EXTENDS_NON_CLASS
-lib/src/widget/input_listener.dart:200:39
- Classes can only extend other classes.
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.22.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.