evaluate static method

SwitchStyle? evaluate(
  1. SwitchStyle? value,
  2. Set<WidgetEvent> events
)
override

Resolves the value for the given set of events if value is an event driven SwitchStyle, otherwise returns the value itself.

Implementation

static SwitchStyle? evaluate(
  SwitchStyle? value,
  Set<WidgetEvent> events,
) {
  return DrivenProperty.evaluate<SwitchStyle?>(value, events);
}