DataWidgetListener<S> typedef
DataWidgetListener<S> =
void Function(BuildContext context, Data<S> data)
Signature for the listener
function which takes the BuildContext
along
with the state
and is responsible for executing in response to
state
changes.
Implementation
typedef DataWidgetListener<S> = void Function(
BuildContext context, Data<S> data);