IconTheme constructor

const 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.

Implementation

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