deviceTypeOf static method
Invokes of method and returns device type
Implementation
static DeviceType? deviceTypeOf(BuildContext context, {bool listen = true}) =>
of(context, listen: listen)?.deviceType;
Invokes of method and returns device type
static DeviceType? deviceTypeOf(BuildContext context, {bool listen = true}) =>
of(context, listen: listen)?.deviceType;