Configuration class final

Annotations

Constructors

Configuration({Iterable<WildnessBase> light = const Iterable<WildnessBase<dynamic>>.empty(), Iterable<WildnessBase> dark = const Iterable<WildnessBase<dynamic>>.empty()})
const
Configuration.fromComponents({Components? light, Components? dark})
Creates a Configuration from Components instances for light and dark modes.
factory
Configuration.fromResources({Resources? light, Resources? dark})
Creates a Configuration from Resources instances for light and dark modes.
factory

Properties

dark → Iterable<WildnessBase>
final
hashCode → int
The hash code for this object.
no setterinherited
light → Iterable<WildnessBase>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Iterable<WildnessBase>? light, Iterable<WildnessBase>? dark}) → Configuration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited