Wildness class final

Inheritance
Mixed-in types
Annotations

Constructors

Wildness({required ScrollPhysics physics, Map<Type, WildnessBase> components = const {}, Map<Type, WildnessBase> resources = const {}})
const

Properties

components → Map<Type, WildnessBase>
final
hashCode → int
The hash code for this object.
no setterinherited
physics → ScrollPhysics
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
resources → Map<Type, WildnessBase>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

component<T>() → T?
Used to obtain a particular WildnessBase from components.
componentByName(String name) → WildnessBase?
componentByNameCast<T extends WildnessBase>(String name) → T?
copyWith({Map<Type, WildnessBase>? components, Map<Type, WildnessBase>? resources, ScrollPhysics? physics}) → Wildness
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(Wildness other, double t) → Wildness
Linearly interpolate between two Wildness themes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceKind<Kind extends WildnessBase>({required WildnessBase kind}) → Wildness
Replace current kind in the wildnessThemeData.
replaceMultipleKind({required Map<Type, WildnessBase> kinds}) → Wildness
Replace all kinds provide.
resource<T>() → T?
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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

Static Methods

of(BuildContext context, {bool listen = true}) → Wildness
Obtains the nearest Wildness instance from the BuildContext.