nexaflow_flutter_sdk 0.0.1 copy "nexaflow_flutter_sdk: ^0.0.1" to clipboard
nexaflow_flutter_sdk: ^0.0.1 copied to clipboard

Flutter SDK for Nexaflow.

Nexaflow SDK Flutter #

A flutter package for connecting Flutter apps with NexaFlow platform.

Features #

  • Custom Models for Website, Pages & Block Library
  • Access Nexaflow api's directly

Getting started #

1. Add this to your package's pubspec.yaml file:

dependencies:
  nexaflow_flutter_sdk: ^0.0.1

2. Import nexaflow_flutter_sdk

import 'package:nexaflow_flutter_sdk/nexaflow_flutter_sdk.dart';

Usage #

NexaflowSdk sdk = NexaflowSdk(apiKey: 'API_KEY');

try {
  List<Website> websites = await sdk.getAllWebsites();
  Website website = await sdk.getWebsiteById(websiteId: websites.first.id);
  print(website.id);
  print(website.pages.length);
} catch (e) {
  print(e);
}
0
likes
140
points
24
downloads

Publisher

verified publishernexaflow.xyz

Weekly Downloads

Flutter SDK for Nexaflow.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on nexaflow_flutter_sdk