Sort constructor

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

Constructs a Sort component with the default theme.

Implementation

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