component<T> method
T?
component<T>()
Used to obtain a particular WildnessBase from components.
Obtain with WildnessTheme.of(context).component<MyThemeComponent>()
.
See components for an interactive example.
Implementation
T? component<T>() => (components[T] as T?);