PlaceholderStateChangedCallback typedef

PlaceholderStateChangedCallback = void Function(PlaceholderState oldState, PlaceholderState newState)

A PlaceholderText.state changed callback function, with old state and new state.

Implementation

typedef PlaceholderStateChangedCallback = void Function(PlaceholderState oldState, PlaceholderState newState);