show method

Future<bool?> show({
  1. bool visible = true,
})

Implementation

Future<bool?> show({bool visible = true}) async {
  config?.visible = visible;
  return await _channel.invokeMethod("window.show", {
    "id": id,
    "visible": visible,
  }).then((v) {
    // update the plugin store
    if (v) FloatwingPlugin().windows[id]?.config?.visible = visible;
    return v;
  });
}