getScreenSize method Null safety
- BuildContext context
Returns the Size of the screen.
Implementation
static Size getScreenSize(BuildContext context) {
return MediaQuery.of(context).size;
}
Returns the Size of the screen.
static Size getScreenSize(BuildContext context) {
return MediaQuery.of(context).size;
}