You need to run your app in release mode if you want it to keep opening even while disconnected from your computer.
You can do that on Xcode by editing your Run Scheme and choosing Release
in Build Configuration
OR
on Android Studio, click Run in the menu bar, and choose Flutter Run in Release Mode