getDocumentTableWidth method

double getDocumentTableWidth()

Implementation

double getDocumentTableWidth() {
  var currentWidth = MediaQuery.of(context).size.width;
  if (currentWidth <= narrowScreenWidthThreshold) {
    return currentWidth * 0.9;
  } else if (currentWidth <= mediumWidthBreakpoint) {
    return currentWidth * 0.9;
  } else {
    return currentWidth * 0.5;
  }
}