Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Add generated Flutter files to gitignore (#1855)

Kristen McWilliam64902f763b11
diff --git a/frontend/app_flowy/.gitignore b/frontend/app_flowy/.gitignore
index e43862d70e..e77b1c9f0f 100644
--- a/frontend/app_flowy/.gitignore
+++ b/frontend/app_flowy/.gitignore
@@ -30,6 +30,8 @@
.pub-cache/
.pub/
/build/
+generated*
+Generated*
# Web related
lib/generated_plugin_registrant.dart
diff --git a/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 00a6f51213..0000000000
--- a/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
-#include <hotkey_manager/hotkey_manager_plugin.h>
-#include <rich_clipboard_linux/rich_clipboard_plugin.h>
-#include <screen_retriever/screen_retriever_plugin.h>
-#include <url_launcher_linux/url_launcher_plugin.h>
-#include <window_manager/window_manager_plugin.h>
-
-void fl_register_plugins(FlPluginRegistry* registry) {
- g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
- flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
- g_autoptr(FlPluginRegistrar) hotkey_manager_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "HotkeyManagerPlugin");
- hotkey_manager_plugin_register_with_registrar(hotkey_manager_registrar);
- g_autoptr(FlPluginRegistrar) rich_clipboard_linux_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "RichClipboardPlugin");
- rich_clipboard_plugin_register_with_registrar(rich_clipboard_linux_registrar);
- g_autoptr(FlPluginRegistrar) screen_retriever_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin");
- screen_retriever_plugin_register_with_registrar(screen_retriever_registrar);
- g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
- url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
- g_autoptr(FlPluginRegistrar) window_manager_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
- window_manager_plugin_register_with_registrar(window_manager_registrar);
-}
diff --git a/frontend/app_flowy/linux/flutter/generated_plugin_registrant.h b/frontend/app_flowy/linux/flutter/generated_plugin_registrant.h
deleted file mode 100644
index e0f0a47bc0..0000000000
--- a/frontend/app_flowy/linux/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter_linux/flutter_linux.h>
-
-// Registers Flutter plugins.
-void fl_register_plugins(FlPluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/linux/flutter/generated_plugins.cmake
deleted file mode 100644
index c32c09aba5..0000000000
--- a/frontend/app_flowy/linux/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- flowy_infra_ui
- hotkey_manager
- rich_clipboard_linux
- screen_retriever
- url_launcher_linux
- window_manager
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
deleted file mode 100644
index a368da99f8..0000000000
--- a/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-import FlutterMacOS
-import Foundation
-
-import appflowy_backend
-import connectivity_plus_macos
-import device_info_plus_macos
-import flowy_infra_ui
-import hotkey_manager
-import package_info_plus_macos
-import path_provider_foundation
-import rich_clipboard_macos
-import screen_retriever
-import shared_preferences_foundation
-import url_launcher_macos
-import window_manager
-
-func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- AppFlowyBackendPlugin.register(with: registry.registrar(forPlugin: "AppFlowyBackendPlugin"))
- ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin"))
- DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
- FlowyInfraUIPlugin.register(with: registry.registrar(forPlugin: "FlowyInfraUIPlugin"))
- HotkeyManagerPlugin.register(with: registry.registrar(forPlugin: "HotkeyManagerPlugin"))
- FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
- PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
- RichClipboardPlugin.register(with: registry.registrar(forPlugin: "RichClipboardPlugin"))
- ScreenRetrieverPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverPlugin"))
- SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
- UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
- WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
-}
diff --git a/frontend/app_flowy/packages/appflowy_backend/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/appflowy_backend/example/macos/Flutter/GeneratedPluginRegistrant.swift
deleted file mode 100644
index d38fb635a3..0000000000
--- a/frontend/app_flowy/packages/appflowy_backend/example/macos/Flutter/GeneratedPluginRegistrant.swift
+++ /dev/null
@@ -1,12 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-import FlutterMacOS
-import Foundation
-
-import appflowy_backend
-
-func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- AppFlowyBackendPlugin.register(with: registry.registrar(forPlugin: "AppFlowyBackendPlugin"))
-}
diff --git a/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 7e6a219102..0000000000
--- a/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include <appflowy_backend/app_flowy_backend_plugin.h>
-
-void RegisterPlugins(flutter::PluginRegistry* registry) {
- AppFlowyBackendPluginRegisterWithRegistrar(
- registry->GetRegistrarForPlugin("AppFlowyBackendPlugin"));
-}
diff --git a/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugin_registrant.h
deleted file mode 100644
index dc139d85a9..0000000000
--- a/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter/plugin_registry.h>
-
-// Registers Flutter plugins.
-void RegisterPlugins(flutter::PluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugins.cmake
deleted file mode 100644
index 9831df3549..0000000000
--- a/frontend/app_flowy/packages/appflowy_backend/example/windows/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- appflowy_backend
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index c6b2120aa0..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
-#include <rich_clipboard_linux/rich_clipboard_plugin.h>
-#include <url_launcher_linux/url_launcher_plugin.h>
-
-void fl_register_plugins(FlPluginRegistry* registry) {
- g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
- flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
- g_autoptr(FlPluginRegistrar) rich_clipboard_linux_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "RichClipboardPlugin");
- rich_clipboard_plugin_register_with_registrar(rich_clipboard_linux_registrar);
- g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
- url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
-}
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.h
deleted file mode 100644
index e0f0a47bc0..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter_linux/flutter_linux.h>
-
-// Registers Flutter plugins.
-void fl_register_plugins(FlPluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake
deleted file mode 100644
index cd997321ab..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- flowy_infra_ui
- rich_clipboard_linux
- url_launcher_linux
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
deleted file mode 100644
index 1bc26379f4..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-import FlutterMacOS
-import Foundation
-
-import flowy_infra_ui
-import path_provider_macos
-import rich_clipboard_macos
-import shared_preferences_macos
-import url_launcher_macos
-
-func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- FlowyInfraUIPlugin.register(with: registry.registrar(forPlugin: "FlowyInfraUIPlugin"))
- PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
- RichClipboardPlugin.register(with: registry.registrar(forPlugin: "RichClipboardPlugin"))
- SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
- UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
-}
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index f1fe1bdbdb..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
-#include <url_launcher_windows/url_launcher_windows.h>
-
-void RegisterPlugins(flutter::PluginRegistry* registry) {
- FlowyInfraUIPluginRegisterWithRegistrar(
- registry->GetRegistrarForPlugin("FlowyInfraUIPlugin"));
- UrlLauncherWindowsRegisterWithRegistrar(
- registry->GetRegistrarForPlugin("UrlLauncherWindows"));
-}
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.h
deleted file mode 100644
index dc139d85a9..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter/plugin_registry.h>
-
-// Registers Flutter plugins.
-void RegisterPlugins(flutter::PluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake
deleted file mode 100644
index 78c9ccb4d0..0000000000
--- a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- flowy_infra_ui
- url_launcher_windows
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index e71a16d23d..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-
-void fl_register_plugins(FlPluginRegistry* registry) {
-}
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugin_registrant.h
deleted file mode 100644
index e0f0a47bc0..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter_linux/flutter_linux.h>
-
-// Registers Flutter plugins.
-void fl_register_plugins(FlPluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugins.cmake
deleted file mode 100644
index 2e1de87a7e..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/linux/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/appflowy_popover/example/macos/Flutter/GeneratedPluginRegistrant.swift
deleted file mode 100644
index cccf817a52..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/macos/Flutter/GeneratedPluginRegistrant.swift
+++ /dev/null
@@ -1,10 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-import FlutterMacOS
-import Foundation
-
-
-func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
-}
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 8b6d4680af..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-
-void RegisterPlugins(flutter::PluginRegistry* registry) {
-}
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugin_registrant.h
deleted file mode 100644
index dc139d85a9..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter/plugin_registry.h>
-
-// Registers Flutter plugins.
-void RegisterPlugins(flutter::PluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugins.cmake
deleted file mode 100644
index b93c4c30c1..0000000000
--- a/frontend/app_flowy/packages/appflowy_popover/example/windows/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 28d352c9d0..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
-
-void fl_register_plugins(FlPluginRegistry* registry) {
- g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
- flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
-}
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h
deleted file mode 100644
index e0f0a47bc0..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter_linux/flutter_linux.h>
-
-// Registers Flutter plugins.
-void fl_register_plugins(FlPluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake
deleted file mode 100644
index 98453e694d..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/linux/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- flowy_infra_ui
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift
deleted file mode 100644
index 0c920d5387..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/macos/Flutter/GeneratedPluginRegistrant.swift
+++ /dev/null
@@ -1,12 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-import FlutterMacOS
-import Foundation
-
-import flowy_infra_ui
-
-func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- FlowyInfraUIPlugin.register(with: registry.registrar(forPlugin: "FlowyInfraUIPlugin"))
-}
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 8c8c37a3f7..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
-
-void RegisterPlugins(flutter::PluginRegistry* registry) {
- FlowyInfraUIPluginRegisterWithRegistrar(
- registry->GetRegistrarForPlugin("FlowyInfraUIPlugin"));
-}
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h
deleted file mode 100644
index dc139d85a9..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include <flutter/plugin_registry.h>
-
-// Registers Flutter plugins.
-void RegisterPlugins(flutter::PluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake
deleted file mode 100644
index 8571d27085..0000000000
--- a/frontend/app_flowy/packages/flowy_infra_ui/example/windows/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- flowy_infra_ui
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)