Spinner.withTheme constructor
Spinner.withTheme({})
Constructs a Spinner component with the supplied theme.
Implementation
Spinner.withTheme({
required this.icon,
String? failedIcon,
required this.theme,
this.leftPrompt = _prompt,
this.rightPrompt = _prompt,
}) : failedIcon = failedIcon ?? Theme.defaultTheme.errorPrefix;