velopack_flutter 0.0.2 copy "velopack_flutter: ^0.0.2" to clipboard
velopack_flutter: ^0.0.2 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}'),
          ),
        ),
      ),
    );
  }
}
5
likes
150
pub points
33%
popularity

Publisher

verified publisherkukuk.me

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_rust_bridge, plugin_platform_interface

More

Packages that depend on velopack_flutter