```sh
# Name: Flutter Release Builds
# Description: Generate release builds for flutter app
# Author: Rohan Joshi
# Twitter: @rohanjsh
#!/bin/bash
#! DEFAULTS
#! Change these to your own
#! PASS --use-defaults FLAG, TO USE THESE DEFAULTS
default_num_flavors=2
default_flavors=("dev" "lib/main_dev.dart" "prod" "lib/main_prod.dart")
default_build_types=("apk" "appbundle" "ipa")
# DESCRIPTION
# Automates Flutter project builds with flavor and type options.
# Prerequisites:
# - Flutter installed and configured.