setPageStatus method

void setPageStatus(
  1. PageStatus status
)

设置页面状态

Implementation

void setPageStatus(PageStatus status) {
  if (status != null) {
    if (_stateBaseFunction != null && _stateBaseFunction.mounted) {
      // ignore: invalid_use_of_protected_member
      _stateBaseFunction.setState(() {
        _pageStatus = status;
      });
    }
  }
}