getResponsiveHeight method
- BuildContext context
Implementation
double getResponsiveHeight(BuildContext context) {
return context.x < 1020
? context.y / 4
: context.x < 1130
? context.y / 3.4
: context.y / 4;
}
double getResponsiveHeight(BuildContext context) {
return context.x < 1020
? context.y / 4
: context.x < 1130
? context.y / 3.4
: context.y / 4;
}