Get.put<AppController>(AppController(),permanent:false); 核心是第二個參數(shù)permanent,默認是false 當為false的時候,當在A視圖中put,退出A視圖就會銷毀,當在B視圖在使用的時候,就會報錯 "AppController" not found. You need to call "Get.put(AppController()
www.dbjr.com.cn/program/293416s...htm 2025-6-10