PromptScope constructor
Creates a PromptScope with the given onDone callback and child.
Implementation
const PromptScope({
required void Function(Object? result) onDone,
required super.child,
}) : _onDone = onDone;
Creates a PromptScope with the given onDone callback and child.
const PromptScope({
required void Function(Object? result) onDone,
required super.child,
}) : _onDone = onDone;