update_helper 0.1.0-rc4 copy "update_helper: ^0.1.0-rc4" to clipboard
update_helper: ^0.1.0-rc4 copied to clipboard

outdated

Help you easier to control the update dialog. It also supports the feature that forces the app to update to continue using.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(home: MyApp()));
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();

    WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
      // UpdateHelperMock.initial(context: context);
      // UpdateHelperForceMock.initial(context: context);
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Plugin example app'),
      ),
      body: const Center(
        child: Text(''),
      ),
    );
  }
}
7
likes
0
points
93
downloads

Publisher

verified publisherlamnhan.dev

Weekly Downloads

Help you easier to control the update dialog. It also supports the feature that forces the app to update to continue using.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, package_info_plus, satisfied_version, universal_platform, url_launcher

More

Packages that depend on update_helper