fvm 3.2.1 copy "fvm: ^3.2.1" to clipboard
fvm: ^3.2.1 copied to clipboard

A simple cli to manage Flutter SDK versions per project. Support channels, releases, and local cache for fast switching between versions.

632
likes
140/ 160
pub points
45.4k
downloads

We analyzed this package 15 hours ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

278 out of 706 API elements (39.4 %) have documentation comments.

Some symbols that are missing documentation: fvm, fvm.AppConfig, fvm.AppConfig.empty, fvm.AppConfig.fromJson, fvm.AppConfig.fromMap.

10/10 points: Package has 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:fvm/fvm.dart that imports:
  • package:fvm/src/services/releases_service/models/version_model.dart that imports:
  • package:fvm/src/services/releases_service/releases_client.dart that imports:
  • package:fvm/src/services/logger_service.dart that imports:
  • package:fvm/src/services/base_service.dart that imports:
  • package:fvm/src/utils/context.dart that imports:
  • package:fvm/src/services/flutter_service.dart that imports:
  • package:fvm/src/utils/parsers/git_clone_update_printer.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:fvm/fvm.dart that imports:
  • package:fvm/src/services/releases_service/models/version_model.dart that imports:
  • package:fvm/src/services/releases_service/releases_client.dart that imports:
  • package:fvm/src/services/logger_service.dart that imports:
  • package:fvm/src/services/base_service.dart that imports:
  • package:fvm/src/utils/context.dart that imports:
  • package:fvm/src/services/flutter_service.dart that imports:
  • package:fvm/src/utils/parsers/git_clone_update_printer.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:fvm/fvm.dart that imports:
  • package:fvm/src/services/releases_service/models/version_model.dart that imports:
  • package:fvm/src/services/releases_service/releases_client.dart that imports:
  • package:fvm/src/services/logger_service.dart that imports:
  • package:fvm/src/services/base_service.dart that imports:
  • package:fvm/src/utils/context.dart that imports:
  • package:fvm/src/services/flutter_service.dart that imports:
  • package:fvm/src/utils/parsers/git_clone_update_printer.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:fvm/fvm.dart that imports:
  • package:fvm/src/services/releases_service/models/version_model.dart that imports:
  • package:fvm/src/services/releases_service/releases_client.dart that imports:
  • package:fvm/src/services/logger_service.dart that imports:
  • package:fvm/src/services/base_service.dart that imports:
  • package:fvm/src/utils/context.dart that imports:
  • package:fvm/src/services/flutter_service.dart that imports:
  • package:fvm/src/utils/parsers/git_clone_update_printer.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:fvm/fvm.dart that imports:
  • package:fvm/src/services/releases_service/models/version_model.dart that imports:
  • package:fvm/src/services/releases_service/releases_client.dart that imports:
  • package:fvm/src/services/logger_service.dart that imports:
  • package:fvm/src/services/base_service.dart that imports:
  • package:fvm/src/utils/context.dart that imports:
  • package:fvm/src/services/flutter_service.dart that imports:
  • package:fvm/src/utils/parsers/git_clone_update_printer.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.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:fvm/fvm.dart that imports:
  • package:fvm/src/services/releases_service/models/version_model.dart that imports:
  • package:fvm/src/services/releases_service/releases_client.dart that imports:
  • package:fvm/src/services/releases_service/models/flutter_releases_model.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Dangling library doc comment.

lib/src/utils/cli_util.dart:5:1

  ╷
5 │ /// Utilities to return the Dart SDK location.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/cli_util.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
args ^2.4.2 2.6.0 2.6.0
cli_completion ^0.5.0 0.5.0 0.5.1
dart_console ^1.2.0 1.2.0 4.1.1
dart_mappable ^4.2.2 4.3.0 4.3.0
date_format ^2.0.7 2.0.9 2.0.9
git ^2.2.1 2.3.0 2.3.0
interact ^2.2.0 2.2.0 2.2.0
io ^1.0.4 1.0.5 1.0.5
jsonc ^0.0.3 0.0.3 0.0.3
mason_logger ^0.2.9 0.2.16 0.3.1
meta ^1.10.0 1.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
pub_semver ^2.1.4 2.1.5 2.1.5
pub_updater ^0.4.0 0.4.0 0.5.0
pubspec ^2.3.0 2.3.0 2.3.0
scope ^5.1.0 5.1.0 5.1.0
stack_trace ^1.11.1 1.12.1 1.12.1
tint ^2.0.1 2.0.1 2.0.1
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
equatable - 2.0.7 2.0.7
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.18.1 0.20.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.17 0.12.17
platform - 3.1.6 3.1.6
process - 5.0.3 5.0.3
quiver - 3.2.2 3.2.2
source_span - 1.10.1 1.10.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
type_plus - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0

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

Found 3 issues. Showing the first 2:

The constraint `^1.2.0` on dart_console does not support the stable version `4.0.0`.

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

The constraint `^0.2.9` on mason_logger does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions mason_logger 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.17, Dart 3.6.0.

Check the analysis log for details.

632
likes
140
points
45.4k
downloads

Publisher

verified publisherleoafarias.com

Weekly Downloads

A simple cli to manage Flutter SDK versions per project. Support channels, releases, and local cache for fast switching between versions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, cli_completion, dart_console, dart_mappable, date_format, git, interact, io, jsonc, mason_logger, meta, path, pub_semver, pub_updater, pubspec, scope, stack_trace, tint, yaml

More

Packages that depend on fvm