Skip to main content

flutter_app_updater 3.2.0 copy "flutter_app_updater: ^3.2.0" to clipboard
flutter_app_updater: ^3.2.0 copied to clipboard

Verified app updates with default or custom UI for stores, Android markets, packages, and desktop installers.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'presentation/example_home_page.dart';
import 'production/production_update_configuration.dart';

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

class MyApp extends StatelessWidget {
  final ProductionUpdateConfiguration? productionConfiguration;

  const MyApp({super.key, this.productionConfiguration});

  @override
  Widget build(BuildContext context) {
    const ink = Color(0xFF182028);
    const accent = Color(0xFFC84E2F);
    const canvas = Color(0xFFF2F0EA);
    final colors = ColorScheme.fromSeed(
      seedColor: accent,
      brightness: Brightness.light,
      surface: const Color(0xFFFCFBF7),
    );

    return MaterialApp(
      title: 'Update Simulator',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: colors,
        scaffoldBackgroundColor: canvas,
        useMaterial3: true,
        appBarTheme: const AppBarTheme(
          backgroundColor: ink,
          foregroundColor: Colors.white,
          elevation: 0,
        ),
        inputDecorationTheme: InputDecorationTheme(
          filled: true,
          fillColor: Colors.white,
          border: OutlineInputBorder(
            borderRadius: BorderRadius.circular(8),
          ),
        ),
      ),
      home: ExampleHomePage(
        productionConfiguration: productionConfiguration ??
            ProductionUpdateConfiguration.fromEnvironment(),
      ),
    );
  }
}
3
likes
140
points
1.46k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Verified app updates with default or custom UI for stores, Android markets, packages, and desktop installers.

Repository (GitHub)
View/report issues
Contributing

Topics

#app-update #app-distribution #flutter-plugin #release-management #self-hosted

License

Apache-2.0 (license)

Dependencies

crypto, cryptography, ffi, flutter, package_info_plus, path_provider, plugin_platform_interface, pub_semver

More

Packages that depend on flutter_app_updater

Packages that implement flutter_app_updater