at_app_create 0.1.0 copy "at_app_create: ^0.1.0" to clipboard
at_app_create: ^0.1.0 copied to clipboard

outdated

A library to build your own custom implementation of flutter create.

example/example.md

Usage #

The following provides a full guide on how to use at_app_create.

Overview #

There are two portions of this library that you can depend on.

  1. The template models
    This contains the dart model capable of generating Flutter app templates.
  2. The args package command models Contains an abstract model from which you can build your create command using the args package.

Template Models #

The template models as a whole are an abstraction that generates an entire Flutter app from several mason bundles.

Each platform configuration directory is its own template (for now just android & ios, the rest of the platforms coming soon), and there is also a root project template that generates the pubspec.yaml, .gitignore, and README.md.

If you don't require any variables to be passed into your code template, it is recommended that you see [https://pub.dev/packages/at_app_bundler] to bundle your templates from minimal code. Some practical examples of bundled templates are available in the at_app package.

Custom Variables #

If you would like to use custom variables in your code templates, then you will have to extend the models to add your additional variables. See the example here.

Command Models #

As of now there is only one command model, an abstraction of the create command. This model defines the basis for building your own create command. See the at_app package create command implementation for reference.

3
likes
0
pub points
0%
popularity

Publisher

verified publisheratsign.org

A library to build your own custom implementation of flutter create.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, json_annotation, mason, path, pub_semver, universal_io

More

Packages that depend on at_app_create