onState property

(void Function(BuildContext context, TState state)?) onState
final

The Function onState it's the type Widget and receive the params context it's the type BuildContext and state it`s the type TState

Implementation

final void Function(BuildContext context, TState state)? onState;