BuildMedia constructor
BuildMedia(
- BuildContext context
It is a simplification of the _MediaQuery.of(context) statement.
Implementation
BuildMedia(BuildContext context) : data = MediaQuery.of(context);