setAppBarContentColor method

void setAppBarContentColor(
  1. Color contentColor
)

设置导航栏的字体以及图标颜色

Implementation

void setAppBarContentColor(Color contentColor) {
  if (contentColor != null) {
    if (_stateBaseFunction != null && _stateBaseFunction.mounted) {
      _stateBaseFunction.setState(() {
        _appBarContentColor = contentColor;
      });
    }
  }
}