79829633

Date: 2025-11-25 11:41:21
Score: 1
Natty:
Report link
Get.offAll(() => SecondScreen()).then((_) {
  WidgetsBinding.instance.addPostFrameCallback((_) {
    Get.delete<FirstController>();
  });
});

Or
Give ScreenUtil a bit of time to recalculate UI, example Get.delete is executed inside SecondScreen()

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kurniawan Wijaya