useSize method

void useSize(
  1. BuildContext context,
  2. T builder(
    1. T,
    2. Size
    )
)

Implementation

void useSize(BuildContext context, T Function(T, Size) builder) {
  apply = builder(self, MediaQuery.of(context).size);
}