dakit_flutter 0.1.11 copy "dakit_flutter: ^0.1.11" to clipboard
dakit_flutter: ^0.1.11 copied to clipboard

Flutter platform integrations for the DAKit DeviantArt client SDK.

dakit_flutter #

Flutter platform adapters for DAKit: a ready-to-use OAuth facade, deep links, secure storage, and native background transfers — without imposing screens or a state-management framework.

pub.dev likes popularity

The package re-exports dakit_core and dakit_api, so a full Flutter integration depends on this one package only.

Install #

dependencies:
  dakit_flutter: ^0.1.11

Example #

final oauth = DAKitOAuthClient(
  config: OAuthConfig(
    clientId: clientId,
    redirectUri: Uri.parse('dakit://oauth/callback'),
  ),
  networkProfile: NetworkProfile.environment(),
  diagnostics: diagnostics,
);

final restored = await oauth.resumePending();
final tokens = restored ?? await oauth.authorize();

What you get #

  • OAuth: Authorization Code + S256 PKCE through the external system browser, with cold-start callback recovery via resumePending().
  • Replaceable parts: hosts can swap the launcher, callback source, token store, pending transaction store, OAuth endpoint, or network profile.
  • Background transfers: BackgroundTransferManager provides persisted task recovery, progress, retry, pause/resume/cancel, and a media proxy independent from OAuth/API routing. It never substitutes previews when an original file is unavailable.

Android, macOS, and Windows still require native callback registration in the host application.

Documentation #

DAKit is a community project and is not affiliated with or endorsed by DeviantArt. MIT licensed.

0
likes
120
points
916
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter platform integrations for the DAKit DeviantArt client SDK.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

app_links, background_downloader, dakit_api, dakit_core, flutter, flutter_secure_storage, path_provider, url_launcher

More

Packages that depend on dakit_flutter