getUserInputSize method Null safety

Size getUserInputSize(
  1. BuildContext context
)

Gets the size for the user input.

Implementation

static Size getUserInputSize(BuildContext context) {
  return Size((MediaQuery.of(context).size.width*0.8),(MediaQuery.of(context).size.height*0.05));
}