customStates<T extends Object> method

WidgetStateProperty<T?>? customStates<T extends Object>(
  1. String name,
  2. String kind,
  3. T? at(
    1. String path
    )
)

Like custom, or one value per state.

Implementation

WidgetStateProperty<T?>? customStates<T extends Object>(
  String name,
  String kind,
  T? Function(String path) at,
) => _states(name, kind, at);