In Flutter I have a StatefulWidget with a Button. When hitting the Button, an extremely long running function is called.
StatefulWidget
Currently the UI is blocked as l