CreatePrompt class

Interactive prompt that gathers project preferences from the user.

Constructors

CreatePrompt.new({required ModuleCreator creator})
Creates a new CreatePrompt with the specified module creator.
const

Properties

creator ModuleCreator
Module creator used for building module instances from user selections.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prompt(ArgResults? argResult, {required List<String> allowedModules, required StrictMode strictMode, required Logger logger}) ProjectPreferences
Starts the prompt flow and returns collected ProjectPreferences.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited