isDesktop property
bool
get
isDesktop
Implementation
bool get isDesktop => myPlatform.whenOrNull(android: () => false,ios: () => false) ?? true;
bool get isDesktop => myPlatform.whenOrNull(android: () => false,ios: () => false) ?? true;