of static method
Gets the VitComboBoxThemeData
from the BuildContext.
This method throws an exception if no data is found.
Implementation
static VitComboBoxStyle of(BuildContext context) {
var data = maybeOf(context);
if (data == null) {
throw StateError('No VitComboBoxThemeData found on context');
}
return data;
}