BrickEngine class
Mason-like brick generator: file templates + vars + hooks.
Constructors
- BrickEngine({required String projectRoot, Logger? logger, bool overwrite = false, bool dryRun = false})
Properties
Methods
-
discoverBricks(
) → Future< Map< String, String> > -
Discovers built-in + project bricks (
.stackchain/bricks,bricks). -
load(
String brickName) → Future< BrickManifest> -
make(
String brickName, {required Map< String, dynamic> vars}) → Future<int> -
Generates a brick into projectRoot with
vars. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited