DrivenSwitcherResolver constructor
DrivenSwitcherResolver(
- DrivenPropertyResolver<
Widget> resolver, { - Key? key,
- bool? maintainKey = false,
Creates a DrivenSwitcherResolver
from a provided resolver function.
This class provides a way to dynamically resolve the child widget based on the given events using a custom resolver function.
Implementation
DrivenSwitcherResolver(
this.resolver, {
super.key,
super.maintainKey = false,
}) : super(resolver({}));