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.
175 lines
5.1 KiB
Dart
175 lines
5.1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'subtitle_download.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint, type=warning
|
|
/// Owns the download and task handoff even when its dialog is closed.
|
|
|
|
@ProviderFor(SubtitleDownload)
|
|
final subtitleDownloadProvider = SubtitleDownloadProvider._();
|
|
|
|
/// Owns the download and task handoff even when its dialog is closed.
|
|
final class SubtitleDownloadProvider
|
|
extends $NotifierProvider<SubtitleDownload, SubtitleDownloadState> {
|
|
/// Owns the download and task handoff even when its dialog is closed.
|
|
SubtitleDownloadProvider._()
|
|
: super(
|
|
from: null,
|
|
argument: null,
|
|
retry: null,
|
|
name: r'subtitleDownloadProvider',
|
|
isAutoDispose: false,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$subtitleDownloadHash();
|
|
|
|
@$internal
|
|
@override
|
|
SubtitleDownload create() => SubtitleDownload();
|
|
|
|
/// {@macro riverpod.override_with_value}
|
|
Override overrideWithValue(SubtitleDownloadState value) {
|
|
return $ProviderOverride(
|
|
origin: this,
|
|
providerOverride: $SyncValueProvider<SubtitleDownloadState>(value),
|
|
);
|
|
}
|
|
}
|
|
|
|
String _$subtitleDownloadHash() => r'2bf89e93b596e3b24f3880279477c91227b261b4';
|
|
|
|
/// Owns the download and task handoff even when its dialog is closed.
|
|
|
|
abstract class _$SubtitleDownload extends $Notifier<SubtitleDownloadState> {
|
|
SubtitleDownloadState build();
|
|
@$mustCallSuper
|
|
@override
|
|
WhenComplete runBuild() {
|
|
final ref = this.ref as $Ref<SubtitleDownloadState, SubtitleDownloadState>;
|
|
final element =
|
|
ref.element
|
|
as $ClassProviderElement<
|
|
AnyNotifier<SubtitleDownloadState, SubtitleDownloadState>,
|
|
SubtitleDownloadState,
|
|
Object?,
|
|
Object?
|
|
>;
|
|
return element.handleCreate(ref, build);
|
|
}
|
|
}
|
|
|
|
/// Configured sessions can start independently of another project's download.
|
|
|
|
@ProviderFor(SubtitleStart)
|
|
final subtitleStartProvider = SubtitleStartFamily._();
|
|
|
|
/// Configured sessions can start independently of another project's download.
|
|
final class SubtitleStartProvider
|
|
extends $NotifierProvider<SubtitleStart, SubtitleDownloadState> {
|
|
/// Configured sessions can start independently of another project's download.
|
|
SubtitleStartProvider._({
|
|
required SubtitleStartFamily super.from,
|
|
required EditorTimelineSession super.argument,
|
|
}) : super(
|
|
retry: null,
|
|
name: r'subtitleStartProvider',
|
|
isAutoDispose: true,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$subtitleStartHash();
|
|
|
|
@override
|
|
String toString() {
|
|
return r'subtitleStartProvider'
|
|
''
|
|
'($argument)';
|
|
}
|
|
|
|
@$internal
|
|
@override
|
|
SubtitleStart create() => SubtitleStart();
|
|
|
|
/// {@macro riverpod.override_with_value}
|
|
Override overrideWithValue(SubtitleDownloadState value) {
|
|
return $ProviderOverride(
|
|
origin: this,
|
|
providerOverride: $SyncValueProvider<SubtitleDownloadState>(value),
|
|
);
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return other is SubtitleStartProvider && other.argument == argument;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return argument.hashCode;
|
|
}
|
|
}
|
|
|
|
String _$subtitleStartHash() => r'3278b419fd819fa4dcc021815280cc1cce72dbb5';
|
|
|
|
/// Configured sessions can start independently of another project's download.
|
|
|
|
final class SubtitleStartFamily extends $Family
|
|
with
|
|
$ClassFamilyOverride<
|
|
SubtitleStart,
|
|
SubtitleDownloadState,
|
|
SubtitleDownloadState,
|
|
SubtitleDownloadState,
|
|
EditorTimelineSession
|
|
> {
|
|
SubtitleStartFamily._()
|
|
: super(
|
|
retry: null,
|
|
name: r'subtitleStartProvider',
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
isAutoDispose: true,
|
|
);
|
|
|
|
/// Configured sessions can start independently of another project's download.
|
|
|
|
SubtitleStartProvider call(EditorTimelineSession session) =>
|
|
SubtitleStartProvider._(argument: session, from: this);
|
|
|
|
@override
|
|
String toString() => r'subtitleStartProvider';
|
|
}
|
|
|
|
/// Configured sessions can start independently of another project's download.
|
|
|
|
abstract class _$SubtitleStart extends $Notifier<SubtitleDownloadState> {
|
|
late final _$args = ref.$arg as EditorTimelineSession;
|
|
EditorTimelineSession get session => _$args;
|
|
|
|
SubtitleDownloadState build(EditorTimelineSession session);
|
|
@$mustCallSuper
|
|
@override
|
|
WhenComplete runBuild() {
|
|
final ref = this.ref as $Ref<SubtitleDownloadState, SubtitleDownloadState>;
|
|
final element =
|
|
ref.element
|
|
as $ClassProviderElement<
|
|
AnyNotifier<SubtitleDownloadState, SubtitleDownloadState>,
|
|
SubtitleDownloadState,
|
|
Object?,
|
|
Object?
|
|
>;
|
|
return element.handleCreate(ref, () => build(_$args));
|
|
}
|
|
}
|