Is device medium?
bool isMedium(BuildContext context) => !isCompact(context) && !isExpanded(context);