libsql_dart 0.0.1 copy "libsql_dart: ^0.0.1" to clipboard
libsql_dart: ^0.0.1 copied to clipboard

Turso/libsql dart client library

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:libsql_dart/libsql_dart.dart';

Future<void> main() async {
  await LibsqlClient.init();
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('flutter_rust_bridge quickstart')),
        body: const Center(
          child: Text(""),
        ),
      ),
    );
  }
}