enableFloatWindow method

Future<void> enableFloatWindow()

Implementation

Future<void> enableFloatWindow() async {
  Get.put<FloatWindowStore>(FloatWindowStore(), permanent: true);
  bool success = await FloatWindowStore.to.showFloatWindow();
  if (success) {
    Get.back();
  }
}