of static method
Implementation
static ExpandableThemeData of(BuildContext context,
{bool rebuildOnChange = true}) {
final notifier = rebuildOnChange
? context.dependOnInheritedWidgetOfExactType<_ExpandableThemeNotifier>()
: context.findAncestorWidgetOfExactType<_ExpandableThemeNotifier>();
return notifier?.themeData ?? defaults;
}