Add the Flutter video editing application with project management, media import, timeline editing, preview, AI assistance, diagnostics and settings. Include shared UI and native host packages, platform runners, application tests and release tooling. Provide usage and contribution guides, the MIT license and third-party notices. Exclude local credentials, build outputs and validation data.
15 lines
377 B
Dart
15 lines
377 B
Dart
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|
|
|
import 'app_update_bridge.dart';
|
|
import 'app_update_coordinator.dart';
|
|
|
|
export 'app_update_bridge.dart';
|
|
|
|
part 'app_updates.g.dart';
|
|
|
|
@Riverpod(keepAlive: true)
|
|
void appUpdateLifecycle(Ref ref) {
|
|
if (!supportsAppUpdates) return;
|
|
ref.watch(appUpdateBridgeProvider).start(() => prepareForAppUpdateQuit(ref));
|
|
}
|