at_app_flutter 0.1.0+1 copy "at_app_flutter: ^0.1.0+1" to clipboard
at_app_flutter: ^0.1.0+1 copied to clipboard

outdated

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");
2
likes
0
pub points
71%
popularity

Publisher

verified publisheratsign.org

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

at_client_mobile, at_onboarding_flutter, at_utils, dotenv, flutter, path_provider

More

Packages that depend on at_app_flutter