confirmsInstallation method

  1. @override
bool confirmsInstallation()
override

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();