BuildMedia constructor

BuildMedia(
  1. BuildContext context
)

It is a simplification of the _MediaQuery.of(context) statement.

Implementation

BuildMedia(BuildContext context) : data = MediaQuery.of(context);