i_updater 0.0.5 copy "i_updater: ^0.0.5" to clipboard
i_updater: ^0.0.5 copied to clipboard

A Flutter plugin for managing in-app updates seamlessly, ensuring users always have the latest version of your app with minimal hassle.

example/lib/main.dart

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

void main() {
  runApp(const _MyApp());
}

class _MyApp extends StatefulWidget {
  const _MyApp();

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

class _MyAppState extends State<_MyApp> {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Updater(
      countryCode: LanguageCodes.tr.name, // optional arg
      language: LanguageCodes.en, // optional arg
      // versionRequiredStatus: VersionRequiredStatus.require, // optional arg
      // title: const Text('Custom title'), // optional arg
      // content: const Text('Custom content'), // optional arg
      // onCloseTap: () => log('onCloseTap'), // optional arg
      // showVersions: false, // optional arg
      child: Scaffold(
        appBar: AppBar(
          title: const Text('IUpdater'),
        ),
      ),
    );
  }
}
9
likes
160
points
611
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for managing in-app updates seamlessly, ensuring users always have the latest version of your app with minimal hassle.

Repository (GitHub)
View/report issues
Contributing

Topics

#updater #force-update #mandatoriy-update #update-management #app-updater

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, http, plugin_platform_interface

More

Packages that depend on i_updater