resolve abstract method

T resolve(
  1. Set<WidgetEvent> events
)

Returns a value of type T that depends on events.

Widgets like TextButton and ElevatedButton apply this method to their current WidgetEvents to compute colors and other visual parameters at build time.

Implementation

T resolve(Set<WidgetEvent> events);