sunac_flutter_cli 0.1.0 copy "sunac_flutter_cli: ^0.1.0" to clipboard
sunac_flutter_cli: ^0.1.0 copied to clipboard

discontinuedreplaced by: flutter_template_cli
PlatformWindows
outdated

Official CLI for Sunac Flutter Template to build Flutter Modules easily

2
likes
100/ 160
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/nEdAy/sunac_flutter_cli.git was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: sunac_flutter_cli,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

66 out of 559 API elements (11.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: args_mixin, args_mixin.ArgsMixin, check_dev_version, check_dev_version.isDevVersion, cli_config.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:sunac_flutter_cli/sunac_flutter_cli.dart that imports:
  • package:sunac_flutter_cli/core/generator.dart that imports:
  • package:sunac_flutter_cli/commands/impl/help/help.dart that imports:
  • package:sunac_flutter_cli/commands/commands_list.dart that imports:
  • package:sunac_flutter_cli/commands/impl/commands_export.dart that imports:
  • package:sunac_flutter_cli/commands/impl/sort/sort.dart that imports:
  • package:sunac_flutter_cli/functions/create/create_single_file.dart that imports:
  • package:sunac_flutter_cli/functions/sorter_imports/sort.dart that imports:
  • package:sunac_flutter_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:sunac_flutter_cli/common/menu/menu.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib-win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:sunac_flutter_cli/sunac_flutter_cli.dart that imports:
  • package:sunac_flutter_cli/core/generator.dart that imports:
  • package:sunac_flutter_cli/commands/impl/help/help.dart that imports:
  • package:sunac_flutter_cli/commands/commands_list.dart that imports:
  • package:sunac_flutter_cli/commands/impl/commands_export.dart that imports:
  • package:sunac_flutter_cli/commands/impl/sort/sort.dart that imports:
  • package:sunac_flutter_cli/functions/create/create_single_file.dart that imports:
  • package:sunac_flutter_cli/functions/sorter_imports/sort.dart that imports:
  • package:sunac_flutter_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:sunac_flutter_cli/common/menu/menu.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib-win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:sunac_flutter_cli/sunac_flutter_cli.dart that imports:
  • package:sunac_flutter_cli/core/generator.dart that imports:
  • package:sunac_flutter_cli/commands/impl/help/help.dart that imports:
  • package:sunac_flutter_cli/commands/commands_list.dart that imports:
  • package:sunac_flutter_cli/commands/impl/commands_export.dart that imports:
  • package:sunac_flutter_cli/commands/impl/sort/sort.dart that imports:
  • package:sunac_flutter_cli/functions/create/create_single_file.dart that imports:
  • package:sunac_flutter_cli/functions/sorter_imports/sort.dart that imports:
  • package:sunac_flutter_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:sunac_flutter_cli/common/menu/menu.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib-win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:sunac_flutter_cli/sunac_flutter_cli.dart that imports:
  • package:sunac_flutter_cli/core/generator.dart that imports:
  • package:sunac_flutter_cli/commands/impl/help/help.dart that imports:
  • package:sunac_flutter_cli/commands/commands_list.dart that imports:
  • package:sunac_flutter_cli/commands/impl/commands_export.dart that imports:
  • package:sunac_flutter_cli/commands/impl/sort/sort.dart that imports:
  • package:sunac_flutter_cli/functions/create/create_single_file.dart that imports:
  • package:sunac_flutter_cli/functions/sorter_imports/sort.dart that imports:
  • package:sunac_flutter_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:sunac_flutter_cli/common/menu/menu.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib-win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:sunac_flutter_cli/sunac_flutter_cli.dart that imports:
  • package:sunac_flutter_cli/core/generator.dart that imports:
  • package:sunac_flutter_cli/commands/impl/help/help.dart that imports:
  • package:sunac_flutter_cli/commands/commands_list.dart that imports:
  • package:sunac_flutter_cli/commands/impl/commands_export.dart that imports:
  • package:sunac_flutter_cli/commands/impl/sort/sort.dart that imports:
  • package:sunac_flutter_cli/functions/create/create_single_file.dart that imports:
  • package:sunac_flutter_cli/functions/sorter_imports/sort.dart that imports:
  • package:sunac_flutter_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:sunac_flutter_cli/common/menu/menu.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib-win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:sunac_flutter_cli/sunac_flutter_cli.dart that imports:
  • package:sunac_flutter_cli/extensions.dart that imports:
  • package:sunac_flutter_cli/core/internationalization.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 28 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/common/utils/json_serialize/json_ast/location.dart:18:17

   ╷
18 │   bool operator ==(dynamic other) =>
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/common/utils/json_serialize/json_ast/location.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/common/utils/json_serialize/json_ast/location.dart:37:17

   ╷
37 │   bool operator ==(dynamic other) =>
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/common/utils/json_serialize/json_ast/location.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ansicolor >=2.0.1 <3.0.0 2.0.3 2.0.3
cli_dialog >=0.5.0 <1.0.0 0.5.0 0.5.0
collection >=1.15.0 <2.0.0 1.19.1 1.19.1
dart_style >=2.0.1 <3.0.0 2.3.7 2.3.7
http >=0.13.4 <2.0.0 1.2.2 1.2.2
intl >=0.17.0 <1.0.0 0.20.0 0.20.0
meta >=1.7.0 <2.0.0 1.16.0 1.16.0
path >=1.8.0 <2.0.0 1.9.1 1.9.1
process_run >=0.12.2 <1.0.0 0.14.2 1.2.2
pubspec >=2.0.1 <3.0.0 2.3.0 2.3.0
recase >=4.0.0 <5.0.0 4.1.0 4.1.0
version >=2.0.0 <3.0.0 2.0.3 3.0.2
yaml >=3.1.0 <4.0.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 76.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.8.0 6.11.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_console - 1.0.0 4.1.1
ffi - 1.2.1 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
http_parser - 4.1.1 4.1.1
macros - 0.1.2-main.4 0.1.3-main.0
matcher - 0.12.17 0.12.17
package_config - 2.1.0 2.1.0
pub_semver - 2.1.4 2.1.4
quiver - 3.2.2 3.2.2
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
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
watcher - 1.1.0 1.1.0
web - 0.5.1 1.1.0
win32 - 2.6.1 5.8.0

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

The constraint `>=0.12.2 <1.0.0` on process_run does not support the stable version `1.0.0+1`.

Try running dart pub upgrade --major-versions process_run to update the constraint.

The constraint `>=2.0.0 <3.0.0` on version does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions version to update the constraint.

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.15, Dart 3.5.4.

Check the analysis log for details.

2
likes
100
pub points
0%
popularity

Publisher

verified publisherneday.cn

Official CLI for Sunac Flutter Template to build Flutter Modules easily

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ansicolor, cli_dialog, collection, dart_style, http, intl, meta, path, process_run, pubspec, recase, version, yaml

More

Packages that depend on sunac_flutter_cli