Creates a widget that provides MediaQueryData to its descendants.
The data and child
arguments must not be null.
Source
MediaQuery({ Key key, @required this.data, @required Widget child, }) : super(key: key, child: child) { assert(child != null); assert(data != null); }