add type to all Getx put/get/delete/isRegistered (#8550)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-06-30 21:24:18 +08:00
committed by GitHub
parent 15fa80fb26
commit 763174657b
8 changed files with 62 additions and 60 deletions

View File

@@ -36,7 +36,7 @@ class _DesktopServerPageState extends State<DesktopServerPage>
void initState() {
gFFI.ffiModel.updateEventListener(gFFI.sessionId, "");
windowManager.addListener(this);
Get.put(tabController);
Get.put<DesktopTabController>(tabController);
tabController.onRemoved = (_, id) {
onRemoveId(id);
};