useQuery method

void useQuery(
  1. BuildContext context,
  2. T builder(
    1. T,
    2. MediaQueryData
    )
)

Implementation

void useQuery(BuildContext context, T Function(T, MediaQueryData) builder) {
  apply = builder(self, MediaQuery.of(context));
}