setAppBarBackColor method

void setAppBarBackColor(
  1. Color color
)

默认这个导航栏下,设置颜色

Implementation

void setAppBarBackColor(Color color) {
  if (_stateBaseFunction != null && _stateBaseFunction.mounted) {
    _stateBaseFunction.setState(() {
      _appBarColor = color == null ? _appBarColor : color;
    });
  }
}