Dart

Dart

/dart-lang
United States of America

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

9 skills
dart-run-static-analysis
Passed all 3 security checks
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
·05.6k
dart-add-unit-test
Passed all 3 security checks
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.
·05.6k
dart-fix-runtime-errors
Passed all 3 security checks
Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.
·05.6k
dart-resolve-package-conflicts
Passed all 3 security checks
Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
·05.6k
dart-use-pattern-matching
Passed all 3 security checks
Use switch expressions and pattern matching where appropriate
·05.6k
dart-collect-coverage
Passed all 3 security checks
Collect coverage using the coverage packge and create an LCOV report
·05.5k
dart-generate-test-mocks
Passed all 3 security checks
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.
·05.5k
dart-migrate-to-checks-package
Passed all 3 security checks
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
·05.4k
dart-build-cli-app
Passed all 3 security checks
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
·05.3k