isCardLayout method

bool isCardLayout(
  1. BuildContext context
)

Implementation

bool isCardLayout(BuildContext context) {
  var width = MediaQuery.of(context).size.width;

  return width < 600;
}