flutter config -https://developer.android.com/studio/index.html code example
Example: flutter connect with database and run in chrome
//include in php file
header("Access-Control-Allow-Origin: *");
//include in php file
header("Access-Control-Allow-Origin: *");