我在Google 後,查到.dart 可以監聽didChangeAppLifecycleState ,記下AppLifecycleState 後,在setState 讀到是paused 或inactive 時,Widget build 回傳色塊。
確定! 回上一頁