fluttertemplates_dev library

The fluttertemplates command line tool.

This package is meant to be used as an executable; run is exposed so the tool can be embedded and tested without spawning a process.

Classes

CliContext
The outside world, replaceable in tests.

Constants

packageVersion → const String
Kept in sync with pubspec.yaml; a test fails if they drift apart.

Functions

run(List<String> args, {CliContext? context}) → Future<int>
Runs the tool with args and returns its exit code.

Exceptions / Errors

CliException
A failure with a message that is fit to show the user as is.