edmaxlabs_core 1.0.0
edmaxlabs_core: ^1.0.0 copied to clipboard
Official Flutter package for EdmaxLabs projects. Provides realtime database, cloud functions, and storage.
example/lib/main.dart
import 'package:edmaxlabs_core/edmaxlabs_core.dart';
import 'package:example/screens/database.dart';
import 'package:flutter/material.dart';
void main() {
final options = EdmaxLabsOptions(
token: "xxxxx",
project: "xxxxxxx",
authToken: "xxxxx",
);
EdmaxLabs.initialize(options);
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Demo',
theme: ThemeData(colorScheme: .fromSeed(seedColor: Colors.deepPurple)),
home: Database(),
);
}
}