withDefaults static method
ExpandableThemeData
withDefaults(
- ExpandableThemeData? theme,
- BuildContext context, {
- bool rebuildOnChange = true,
Implementation
static ExpandableThemeData withDefaults(
ExpandableThemeData? theme, BuildContext context,
{bool rebuildOnChange = true}) {
if (theme != null && theme.isFull()) {
return theme;
} else {
return combine(
combine(theme, of(context, rebuildOnChange: rebuildOnChange)),
defaults);
}
}