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:

  1. Run flutter_easy_build buildApk to build the APK.
  2. Run flutter_easy_build cleanAndBuild to 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.