nuntio_hera 0.1.33 copy "nuntio_hera: ^0.1.33" to clipboard
nuntio_hera: ^0.1.33 copied to clipboard

Nuntio Hera auth system

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:nuntio_hera/hera/hera.dart';
import 'package:nuntio_hera/hera_app/hera_app.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Hera.initialize(
    apiUrl: 'http://localhost:9010',
    credentials: NoTransportCredentials(),
    namespace: '1dc4a557-296d-4d79-be5f-68ee01f90170',
  );

  runApp(const HeraApp(
      child: Scaffold(
    body: Center(
      child: Text("Welcome to Nuntio 👋"),
    ),
  )));
}