IconTheme({Key key, @required IconThemeData data, @required Widget child })

Creates an icon theme that controls the color, opacity, and size of descendant widgets.

Both data and child arguments must not be null.

Source

IconTheme({
  Key key,
  @required this.data,
  @required Widget child
}) : super(key: key, child: child) {
  assert(data != null);
  assert(child != null);
}