fourFifths static method
Defines an height of 80% of the screen size
Implementation
static double fourFifths(BuildContext context) {
return (MediaQuery.of(context).size.height * 4) / 5;
}
Defines an height of 80% of the screen size
static double fourFifths(BuildContext context) {
return (MediaQuery.of(context).size.height * 4) / 5;
}