Command Line Interface

XFlutter-CLI is designed to streamline and enhance the development process with Flutter. This tab offers a suite of commands tailored for Flutter projects — allowing you to quickly generate and manage files, configure environments, and more. With its intuitive syntax and customisable options, XFlutter-CLI empowers developers to boost productivity, reduce setup time, and maintain consistency across projects.Dive into the CLI to see how XFlutter-CLI can optimise your Flutter development workflow, making it more efficient and enjoyable.

Create Commands:

Create Application

Create a new Flutter Application and initialise it with all necessary configurations and components.
Browse

Create Package

Create a new Dart Package and add it to an app or monorepo workspace.
Browse

Create Monorepo Workspace

Create a Flutter Monorepo Workspace with a core package shared across multiple apps.
Browse

Generate Commands:

Generate Screens

Generate a screen with state-management, responsive layouts and routing configuration.
Browse

Generate Forms

Generate a form with inputs such as text, email, password and more.
Browse

Generate Data Model

Generate @freezed models from an HTTP response or a JSON file.
Browse

Generate Data Layer

Generate a network & offline layer (Remote & Local Data-Sources and Repository) for a specific data model.
Browse

Generate Offline Data Layer

Generate an ObjectBox local-database layer for a specific data model.
Browse

Generate Paging

Generate infinite pagination widgets with a controller linked to generated CRUD.
Browse

Make Commands:

Make Authentication

Generate a full authentication module — UI and Data Layers.
Browse

Make CRUD

Generate create, update, read and delete screens with CRUD APIs for a specific model.
Browse

Utility Commands:

Format

Run dart format on your project using the line width configured in xflutter_cli.yaml.
Browse

Environments

Generate multiple main.dart entry points for test, development and production with automated Android and iOS build scripts.
Browse

Git

Interactive commit assistant — formats code, guides structured commit messages, and pushes in one step.
Browse

Graph

Generate an interactive HTML dependency graph visualising app and package relationships.
Browse

Global Options

Flags available on every command: --dry-run, --default-values, --skip-melos-bs, --skip-dart-fix, --skip-build-runner.
Browse