of static method
Returns the StreamSplitButtonThemeData merged from local and global themes.
Local values from the nearest StreamSplitButtonTheme ancestor take precedence over global values from StreamTheme.of.
Implementation
static StreamSplitButtonThemeData of(BuildContext context) {
final localTheme = context.dependOnInheritedWidgetOfExactType<StreamSplitButtonTheme>();
return StreamTheme.of(context).splitButtonTheme.merge(localTheme?.data);
}