getSize method

Size getSize(
  1. BuildContext context
)

Get screen size.

Implementation

Size getSize(BuildContext context) {
  return MediaQuery.of(context).size;
}