isMobile property

bool isMobile

A flag to check if the current browser is running on a mobile device.

Flutter web considers "mobile" everything that not isDesktop.

Implementation

bool get isMobile => !isDesktop;