morni_rsa 0.0.2 copy "morni_rsa: ^0.0.2" to clipboard
morni_rsa: ^0.0.2 copied to clipboard

Mroni RSA sdk

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:morni_rsa/model/language.dart';
import 'package:morni_rsa/service/initialization.dart';
import 'home_screen.dart';

void main() {
  // Initialize the service with example values
  // Replace these with actual values in production
  MorniService.init(
    "", // Replace with actual API base URL
    "", // Replace with actual token
    Language.en,
  );
  
  runApp(const RsaApp());
}

class RsaApp extends StatelessWidget {
  const RsaApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'RSA Services',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        useMaterial3: true,
      ),
      home: const HomeScreen(),
    );
  }
}
0
likes
140
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Mroni RSA sdk

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, plugin_platform_interface

More

Packages that depend on morni_rsa

Packages that implement morni_rsa