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