removeState method

  1. @Deprecated("Too unpredictable! Can disrupt the 'state' of things.")
bool removeState(
  1. StateMVC<StatefulWidget>? state
)

Remove the specified StateMVC object to a Set of such objects Internal use only: This disconnects the Controller to this View!

Implementation

@Deprecated("Too unpredictable! Can disrupt the 'state' of things.")
bool removeState(StateMVC? state) {
  if (state == null) {
    return false;
  }
  final remove = _stateMVCSet.remove(state);
  _popState();
  return remove;
}