velopack_flutter 0.1.0 copy "velopack_flutter: ^0.1.0" to clipboard
velopack_flutter: ^0.1.0 copied to clipboard

A flutter implementation of Velopack to enable easy distribution and auto-updates for flutter apps

example/lib/main.dart

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

Future<void> main() async {
  await RustLib.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: Center(
          child: FutureBuilder(
            future: isUpdateAvailable(url: 'https://test.com'),
            builder: (context, snap) =>
                Text('Update is available: ${snap.data}'),
          ),
        ),
      ),
    );
  }
}
6
likes
150
points
76
downloads

Publisher

verified publisherkukuk.me

Weekly Downloads

A flutter implementation of Velopack to enable easy distribution and auto-updates for flutter apps

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_rust_bridge, plugin_platform_interface

More

Packages that depend on velopack_flutter