uiWidth method

double uiWidth(
  1. BuildContext context
)

Retrieves the available width of the specified context.

Implementation

double uiWidth(BuildContext context) {
  return MediaQuery.of(context).size.width;
}