flutter_easy_build library
A simple command-line tool to automate Flutter APK builds, streamlining the process of building, renaming, and opening the output directory.
This tool reads version information from the pubspec.yaml file,
cleans the project (optional), builds the APK in release mode,
renames the APK with a timestamp and version, and then opens
the directory containing the generated APK in the system's file explorer.
Usage:
- Run
flutter_easy_build buildApkto build the APK. - Run
flutter_easy_build cleanAndBuildto clean the project and then build the APK.
Functions
-
buildApk(
) → Future< void> -
- buildApk for building the APK without cleaning.
-
cleanAndBuild(
) → Future< void> -
- cleanAndBuild to clean the project before building.