iconTheme static method

IconThemeData iconTheme({
  1. Brightness? brightness,
  2. Color? color,
})

可以调用后二次修改 或者自己实现

Implementation

static IconThemeData iconTheme({Brightness? brightness, Color? color}) {
  var _color = color;
  if (brightness != null) {
    _color = CConfig.getOne(brightness: brightness);
  }
  return IconThemeData(color: _color);
}