isPwa property

bool get isPwa

Indicates whether this device is considered to be running as a PWA.

Implementation

static bool get isPwa =>
    web.window.matchMedia('(display-mode: standalone)').matches;