getMaxWidth method

double getMaxWidth(
  1. BuildContext context
)

Implementation

double getMaxWidth(BuildContext context) {
  final size = MediaQuery.of(context).size;
  final width = size.width;
  return width - 150;
}