hasDesktopBorders property

Future<bool> hasDesktopBorders

Implementation

Future<bool> get hasDesktopBorders async {
  if (!Internal.supportPlatformDesktop) return false;
  final bool? hasBorders =
      await Internal.curiosityChannel.invokeMethod<bool?>('hasBorders');
  if (hasBorders is bool) return hasBorders;
  return hasBorders ?? false;
}