confirmsInstallation method
Installing is the answer that leaves a runnable project, so it is the answer a bare Enter produces.
Implementation
@override
bool confirmsInstallation() => Confirm(
prompt: 'Install dependencies?',
defaultValue: true,
waitForNewLine: true,
).interact();