StateSetter typedef Null safety

StateSetter = void Function(VoidCallback fn)

The signature of State.setState functions.

Implementation

typedef StateSetter = void Function(VoidCallback fn);