resolveWith<T> static method

WidgetStateProperty<T> resolveWith<T>(
  1. WidgetPropertyResolver<T> callback
)

Convenience method for creating a WidgetStateProperty from a WidgetPropertyResolver function alone.

Implementation

static WidgetStateProperty<T> resolveWith<T>(WidgetPropertyResolver<T> callback) => _WidgetStatePropertyWith<T>(callback);