sheetMaxWidth static method

double sheetMaxWidth(
  1. BuildContext context
)

Centered bottom-sheet width on tablet; full width on phone.

Implementation

static double sheetMaxWidth(BuildContext context) =>
    isTablet(context) ? 560 : double.infinity;