setAppBarVisible method

void setAppBarVisible(
  1. bool isVisible
)

设置导航栏隐藏或者显示

Implementation

void setAppBarVisible(bool isVisible) {
  if (_stateBaseFunction != null && _stateBaseFunction.mounted) {
    _stateBaseFunction.setState(() {
      _isAppBarShow = isVisible;
    });
  }
}