isWindowOpen function

bool isWindowOpen(
  1. String winName
)

Implementation

bool isWindowOpen(String winName) {
  final ret = getWindowProperty(winName, WindowPropertyFlags.WND_PROP_VISIBLE).toInt();
  return ret != 0;
}