RemBase documentationpricingpricingContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
  • RemBase features
    • Cloud functions
    • Endpoints
    • Application values and secrets
    • Add Dependencies
  • SDKs
    • android-sdk
      • Initialize
    • flutter-sdk
      • Getting started
      • Initialize
      • Authentication
      • Call backend functions
      • Best Practices
    • ios-sdk
      • Initialize
    • web-sdk
      • Getting started
      • Initialize
      • Authentication
      • Call backend functions
      • Best Practices
  • Best Practices
    • Self Host
    • Testing
    • Web
      • Server Side Compatibility
  • Pricing
  • help
    • Context
  • Introduction
  • pricing
  • Contact ↗ (opens in a new tab)
  • RemBase features
    • Cloud functions
    • Endpoints
    • Application values and secrets
    • Add Dependencies
  • SDKs
    • android-sdk
      • Initialize
    • flutter-sdk
      • Getting started
      • Initialize
      • Authentication
      • Call backend functions
      • Best Practices
    • ios-sdk
      • Initialize
    • web-sdk
      • Getting started
      • Initialize
      • Authentication
      • Call backend functions
      • Best Practices
  • Best Practices
    • Self Host
    • Testing
    • Web
      • Server Side Compatibility
  • Pricing
  • help
    • Context

On This Page

  • Flutter Code Example:
  • Explanation:
Question? Give us feedback → (opens in a new tab)Edit this page
SDKs
flutter-sdk
Initialize

Flutter Code Example:

import 'package:rembase_dart_sdk/rembase_dart_sdk.dart';
 
Future<void> initializeRemBase() async {
  const appId = 'YOUR_APPID'; // Your unique application Id
 
  try {
    final remBaseApp = RemBaseApp(appId: appId);
    print('RemBase Initialized');
  } catch (e) {
    print('Error initializing RemBase: $e');
  }
}
 
void main() {
  runApp(MyApp());
  initializeRemBase();
}

Explanation:

  • Replace 'YOUR_APPID' with your actual appId.

This setup initializes RemBase for your Flutter app using the rembase_dart_sdk package.

Getting startedAuthentication

MIT 2025 © Nextra.