onStateChange property Null safety

OnStateChange? onStateChange
final, inherited

Optional callback for state changes

Implementation

final OnStateChange? onStateChange;