at_app_flutter 2.0.0
at_app_flutter: ^2.0.0 copied to clipboard

A library that help developers build flutter applications on the @platform.

example/example.md

Examples #

Using AtEnv #

Loading the environment

AtEnv.load();

Get the root domain

var rootDomain = AtEnv.rootDomain;

Get the app namespace

var namespace = AtEnv.appNamespace;

Get the app api key

var apiKey = AtEnv.appApiKey;

Using AtContext #

Get the AtContext instance from the BuildContext #

AtContext atContext = AtContext.of(context);

Using the AtContext instance #

Get the AtClientService

AtClientService atClientService = atContext.atClientService;

Get the AtClientInstance

AtClientImpl? atClientInstance = atContext.atClient;

Get the Currently Onboarded AtSign

String? currentAtSign = atContext.currentAtSign;

Get the AtClientPreference

AtClientPreference atClientPreference = atContext.atClientPreference;

Onboard with another Atsign

atContext.switchAtsign("@example");
0
likes
100
pub points
47%
popularity

Publisher

atsign.org

A library that help developers build flutter applications on the @platform.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

at_client_mobile, at_onboarding_flutter, at_utils, dotenv, flutter, path_provider

More

Packages that depend on at_app_flutter