IconTheme constructor

const IconTheme(
  1. {Key key,
  2. @required IconThemeData data,
  3. @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.


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