solvro_config 1.8.4-dev copy "solvro_config: ^1.8.4-dev" to clipboard
solvro_config: ^1.8.4-dev copied to clipboard

A comprehensive Dart linter and configuration package for all Solvro mobile projects.

Solvro Dart Config #


Getting Started 🚀 - Installation #

dart pub add dev:solvro_config
dart run solvro_config install

Usage #

# Install config for an app
$ solvro_config install

# Install config for a package
$ solvro_config install --package

# Show CLI version
$ solvro_config --version

# Show usage help
$ solvro_config --help

Haptic feedback #

The add_haptic_feedback_on_user_interaction rule accepts custom haptic wrappers in analysis_options.yaml:

plugins:
  solvro_config:
    version: ^1.8.0
    haptic_wrappers:
      - HapticFeedback.
      - AppHaptics.

Reusable widgets that trigger haptics internally can be listed as haptic-owning widgets. Callback arguments passed to these widgets will not be reported by the add_haptic_feedback_on_user_interaction rule, and will be actively rejected by the avoid_haptic_feedback_in_haptic_owning_widget rule, so callers can keep callbacks business-only:

plugins:
  solvro_config:
    version: ^1.8.0
    haptic_owning_widgets:
      - MySplashTile
      - WideTileCard
2
likes
140
points
784
downloads

Documentation

API reference

Publisher

verified publishersolvro.pl

Weekly Downloads

A comprehensive Dart linter and configuration package for all Solvro mobile projects.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, args, cli_completion, commitlint_cli, husky, lint_staged, mason_logger, process_run, pub_updater, riverpod_lint, total_lints, yaml

More

Packages that depend on solvro_config