onState method

void onState(
  1. State state
)

Called when the feature's state changes.

  • state: The new state.

Implementation

void onState(State state) {}