statesController property Null safety
Classes based on this one can provide their own MaterialStatesController to which they've added listeners. They can also update the controller's MaterialStatesController.value however, this may only be done when it's safe to call State.setState, like in an event handler.
final MaterialStatesController? statesController;