Sort.withTheme constructor

Sort.withTheme({
  1. required String prompt,
  2. required List<String> options,
  3. required Theme theme,
  4. bool showOutput = true,
})

Constructs a Sort component with the default theme.

Implementation

Sort.withTheme({
  required this.prompt,
  required this.options,
  required this.theme,
  this.showOutput = true,
});