79180280

Date: 2024-11-12 08:14:10
Score: 0.5
Natty:
Report link

You can't assign _handleStateChange to onStateChange, their types are different, how about just call _handleStateChange like this

    _listener = AppLifecycleListener(
      onStateChange: (state) {
        _handleStateChange(context);
      },
    );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zhentao