call method

T call(
  1. BuildContext context,
  2. Set<WidgetState> states,
  3. T value
)

Returns the stored value, ignoring all parameters.

This method signature matches ButtonStatePropertyDelegate for compatibility, but the context, states, and value parameters are unused.

Implementation

T call(BuildContext context, Set<WidgetState> states, T value) {
  return this.value;
}