Configuration.fromComponents constructor
Configuration.fromComponents({
- Components? light,
- Components? dark,
Creates a Configuration from Components instances for light and dark modes.
Implementation
factory fromComponents({Components? light, Components? dark}) =>
Configuration(
light:
light?.components ?? const Iterable<WildnessBase<dynamic>>.empty(),
dark: dark?.components ?? const Iterable<WildnessBase<dynamic>>.empty(),
);