getSize function
Get the size of the screen from a given BuildContext.
Implementation
Size getSize(BuildContext context) {
return MediaQuery.of(context).size;
}
Get the size of the screen from a given BuildContext.
Size getSize(BuildContext context) {
return MediaQuery.of(context).size;
}