0

The requirement is to exit the app when the button is clicked. I created a MethodChannel to do this. Using the principle of array out of bounds, respectively on both sides of the array out of bounds, crash on iOS but on Android is only an exception. I think this may be the mechanism of flutter, how to deal with this problem, or other methods.

Exception is: E/flutter (16372): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(error, length=3; index=200, null,

0 Answers0