Skip to main content

codelessly_sdk 20.0.1 copy "codelessly_sdk: ^20.0.1" to clipboard
codelessly_sdk: ^20.0.1 copied to clipboard

Codelessly CloudUI™ - server-driven UI for Flutter. Renders Codelessly layouts natively, straight into Flutter render objects.

Codelessly Logo

Codelessly CloudUI™ SDK #

Dynamic UI and real-time updates for Flutter apps #

Build and publish UI in the Codelessly Editor, and show it in your Flutter app. The SDK renders published layouts natively, straight into Flutter render objects, and updates them live when you publish.

Version 20 #

Version 20 reads projects in the new format ("schema": 2) that the Codelessly Editor publishes. A project that hasn't been converted fails to load with a PublishLoadException that says so. SDK 10.x and older can't read a converted project: update to 20.

Quickstart #

dependencies:
  codelessly_sdk: ^20.0.1

Load a published project from Firebase (live updates included):

import 'package:codelessly_sdk/codelessly_sdk.dart';
import 'package:codelessly_sdk/firebase.dart';

final codelessly = codelesslyOnFirebase(
  firestore: FirebaseFirestore.instanceFor(app: codelesslyApp),
  config: const CodelesslyConfig(authToken: '<project token>'),
);

Then show it with CodelesslyWidget. Store purchases are in package:codelessly_sdk/store.dart and the Firebase services (auth, cloud data, files, paywall) in package:codelessly_sdk/firebase.dart; the rest of the SDK never imports Firebase.