StateSetter typedef
StateSetter =
void Function(void callback())
The type of the function that updates a State.
Implementation
typedef StateSetter = void Function(void Function() callback);
The type of the function that updates a State.
typedef StateSetter = void Function(void Function() callback);