FallbackThemeProvider
Class
Inheritance
objectImplements
I Theme ProviderStatic Fields
Instance: Fallback Theme Provider
Methods
GetThemed<T>(property: BaseThemeProperty <T>, listen: bool): T
Resolves the theme value for the given property.
RemarksThe returned value may be invalid for struct types. Use IThemeProvider.TryGetThemed in cases where you need to be sure that the value is valid and intentionally assigned. If you can't be sure that this provider is not null, use WidgetExtensions.Get instead.
Parameters
property:
BaseThemeProperty <T> - The theme property to resolve.listen:
bool - Whether this provider should listen for theme updates.TryGetThemed<S>(property: BaseThemeProperty <S>, value: S, listen: bool): bool
Tries to resolve the theme value for the given property.
RemarksIf you can't be sure that this provider is not null, use WidgetExtensions.TryGet instead.
Parameters
property:
BaseThemeProperty <S> - The theme property to resolve.value:
S - The resolved theme value, or the default value if not found.listen:
bool - Whether this provider should listen for theme updates.Inherited Members
Extension Methods
Describe IdentityShort HashTo String Nullable