dart_pty 0.0.3
dart_pty: ^0.0.3 copied to clipboard

Flutter Android iOS Linux macOS Windows

create pseudo terminal and fork process use dart

0
likes
45 / 110
pub points
0 %
popularity

We analyzed this package on Mar 1, 2021, and awarded it 45 pub points (of a possible 110):

Follow Dart file conventions
5 / 20

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.
  • pubspec.yaml doesn't have a repository entry.
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.

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

0/10 points: 20% or more of the public API has dartdoc comments

  • 2 out of 48 API elements (4.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.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package not compatible with runtime flutter-web on Web

Because:

  • package:dart_pty/dart_pty.dart that imports:
  • package:dart_pty/src/unix_pty_c.dart that imports:
  • package:dart_pty/src/utils/custom_utf.dart that imports:
  • dart:ffi
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 2661 issues. Showing the first 2:

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/unix/cdirent.dart:48:7

   ╷
48 │   int readdir_r(
   │       ^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/unix/cdirent.dart

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/unix/cdirent.dart:62:19

   ╷
62 │   _dart_readdir_r _readdir_r;
   │                   ^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/unix/cdirent.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
ffi^0.1.30.1.31.0.0
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0
collection-1.15.0-nullsafety.31.15.0
meta-1.3.0-nullsafety.31.3.0
sky_engine-0.0.990.0.99
typed_data-1.3.0-nullsafety.31.3.0
vector_math-2.1.0-nullsafety.32.1.0

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.1.3` on ffi does not support the latest published version `1.0.0`

pubspec.yaml:12:8

   ╷
12 │   ffi: ^0.1.3
   │        ^^^^^^
   ╵

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analysed with Pana 0.14.10, Flutter 1.22.6, Dart 2.10.5.

0
likes
45
pub points
0%
popularity

create pseudo terminal and fork process use dart

Documentation

API reference

Uploader

nightmare.i.am.m.y.s@gmail.com

License

MIT (LICENSE)

Dependencies

ffi, flutter

More

Packages that depend on dart_pty