lm_dx 0.0.2
lm_dx: ^0.0.2 copied to clipboard
lm_dx
LM DX integration
Sample Usage #
''' import 'package:flutter/material.dart'; import 'package:lm_dx/lm_dx.dart';
void main() { runApp(const MyApp()); }
class MyApp extends StatelessWidget { const MyApp({super.key});
@override Widget build(BuildContext context) { return MaterialApp( title: 'LM - DX', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'LM - DX'), ); } }
class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); final String title;
@override State
class _MyHomePageState extends State
@override void initState() { super.initState(); _initFuture = lmWidgetKit.init( 'https://healthcare.lucyday.io/', 'SC:healthcare:a3490beca33befa6', ); }
@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), backgroundColor: Theme.of(context).colorScheme.inversePrimary, ), body: FutureBuilder