Now for a little internet optimism

at_app_cli

A command line tool to help developers build an @ platform application.

Who is this for?

This is for flutter developers looking to build end to end encrypted apps.

Getting Started

This application is an extension of flutter create, that replaces the main.dart file with our own custom template. We also perform the additional build configurations required for the onboarding package.

The at_app package contains two pieces:

  • Executable
  • Library

Together these two parts work together to provide app developers with the prerequisites of an @ platform app.

Executable

The executable is an extension of the flutter create command, and can be used to create a new @ platform app from our template.

Activate the executable:

flutter pub global activate at_app

Create a new @ platform app:

flutter pub global run at_app create [...options] \<output directory\>

Flags

at_app create includes all of the flutter create flags, with the exception of --template, --sample, --list-samples

FlagShorthandDescriptionValue
--namespace-nThe @protocol app namespace to use for the application.(defaults to "")
--root-domain-rThe @protocol root domain to use for the application.prod (default), dev, ve
--api-key-kThe api key for at_onboarding_flutter.(defaults to "")

Library

The library portion contains two classes, to see the usage of these classes please generate an app using the executable above.

AtEnv

To manage the environment variables configured via at_app create (listed in the table above)

AtContext

A wrapper for the MaterialApp widget to provide the AtClientService via global context.

Maintainers

Created by XavierChanth

Libraries

at_app
main