Spinner constructor

Spinner({
  1. required String icon,
  2. String leftPrompt(
    1. bool
    ) = _prompt,
  3. String rightPrompt(
    1. bool
    ) = _prompt,
})

Construts a Spinner component with the default theme.

Implementation

Spinner({
  required this.icon,
  this.leftPrompt = _prompt,
  this.rightPrompt = _prompt,
}) : theme = Theme.defaultTheme;