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

Breaking v3 update framework for stores, Android markets, direct 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
150
points
291
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Breaking v3 update framework for stores, Android markets, direct 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, plugin_platform_interface, pub_semver

More

Packages that depend on flutter_app_updater

Packages that implement flutter_app_updater