Confirm.withTheme constructor

Confirm.withTheme({
  1. required Theme theme,
  2. required String prompt,
  3. bool? defaultValue,
  4. bool waitForNewLine = false,
})

Constructs a Confirm component with the supplied theme.

Implementation

Confirm.withTheme({
  required this.theme,
  required this.prompt,
  this.defaultValue,
  this.waitForNewLine = false,
});