at_client_flutter 0.1.0
at_client_flutter: ^0.1.0 copied to clipboard
A Flutter extension to the at_client library which adds support for mobile, desktop and IoT devices.
at_client_flutter #
Introduction #
A Flutter extension to the at_client library which adds support for mobile, desktop, and IoT devices.
SDK that provides the essential methods for building an app using The atProtocol. You may also want to look at at_client.
at_client_flutter package is written in Dart, supports Flutter, and follows the atPlatform's decentralized, edge computing model with the following features:
- Cryptographic control of data access through personal data stores
- No application backend needed
- End to end encryption where only the data owner has the keys
- Private and surveillance free connectivity
We call giving people control of access to their data "flipping the internet".
Get Started #
Before using this package for the first time, you should follow the getting started guide
You may find it useful to read the atPlatform overview.
This package is available on pub.dev at https://pub.dev/packages/at_client_flutter
Usage #
See at_client_flutter/example for more details regarding all workflows.
Package provides Flutter Dialogs for the following workflows:
- Onboarding via Registrar / Cram
- Authentication via File
- Authentication via Keychain
Atsign / RootDomain Selection Dialog
AuthRequest? authRequest = await AtSignSelectionDialog.show(
context,
);
Registrar Cram Dialog
RegistrarService registrar = RegistrarService("registarURL" "apiKey");
String cramKey = await RegistrarCramDialog.show(
context,
atOnboardingRequest,
registrar: registrar,
);
Cram Onboarding Dialog
AtOnboardingResponse response = await CramDialog.show(
context,
request: authRequest,
cramKey: cramKey,
progressBuilder: progressBuilder,
onOnboardingComplete: onOnboardingComplete,
title: title,
description: description,
);
Pkam Onboarding Dialog
AtAuthRequest request = AtAuthRequest(
authRequest.atSign,
atKeysIo,
rootDomain: authRequest.rootDomain,
);
AtAuthResponse response = await PkamDialog.show(context, request: request);
- If your app supports windows platform then add
biometric_storagein app's dependencies
dependencies:
biometric_storage: ^4.1.3
Example #
More details in the example
at_client_flutter/example/main.dart