calculateSizes method

dynamic calculateSizes(
  1. BuildContext context
)

Implementation

calculateSizes(BuildContext context) {
  MediaQueryData media = MediaQuery.of(context);
  size = media.size;
  padding = media.padding;
}