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.
139 lines
4.0 KiB
Dart
139 lines
4.0 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'subtitle_task_actions.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint, type=warning
|
|
/// One operation state is shared by the compact card and its details dialog.
|
|
|
|
@ProviderFor(SubtitleTaskActions)
|
|
final subtitleTaskActionsProvider = SubtitleTaskActionsFamily._();
|
|
|
|
/// One operation state is shared by the compact card and its details dialog.
|
|
final class SubtitleTaskActionsProvider
|
|
extends
|
|
$NotifierProvider<
|
|
SubtitleTaskActions,
|
|
AsyncValue<SubtitleActionFeedback?>
|
|
> {
|
|
/// One operation state is shared by the compact card and its details dialog.
|
|
SubtitleTaskActionsProvider._({
|
|
required SubtitleTaskActionsFamily super.from,
|
|
required (EditorTimelineSession, String) super.argument,
|
|
}) : super(
|
|
retry: null,
|
|
name: r'subtitleTaskActionsProvider',
|
|
isAutoDispose: true,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$subtitleTaskActionsHash();
|
|
|
|
@override
|
|
String toString() {
|
|
return r'subtitleTaskActionsProvider'
|
|
''
|
|
'$argument';
|
|
}
|
|
|
|
@$internal
|
|
@override
|
|
SubtitleTaskActions create() => SubtitleTaskActions();
|
|
|
|
/// {@macro riverpod.override_with_value}
|
|
Override overrideWithValue(AsyncValue<SubtitleActionFeedback?> value) {
|
|
return $ProviderOverride(
|
|
origin: this,
|
|
providerOverride: $SyncValueProvider<AsyncValue<SubtitleActionFeedback?>>(
|
|
value,
|
|
),
|
|
);
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return other is SubtitleTaskActionsProvider && other.argument == argument;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return argument.hashCode;
|
|
}
|
|
}
|
|
|
|
String _$subtitleTaskActionsHash() =>
|
|
r'6308d7270d9a363b70bb03ae8dbbbbc83d2a71b7';
|
|
|
|
/// One operation state is shared by the compact card and its details dialog.
|
|
|
|
final class SubtitleTaskActionsFamily extends $Family
|
|
with
|
|
$ClassFamilyOverride<
|
|
SubtitleTaskActions,
|
|
AsyncValue<SubtitleActionFeedback?>,
|
|
AsyncValue<SubtitleActionFeedback?>,
|
|
AsyncValue<SubtitleActionFeedback?>,
|
|
(EditorTimelineSession, String)
|
|
> {
|
|
SubtitleTaskActionsFamily._()
|
|
: super(
|
|
retry: null,
|
|
name: r'subtitleTaskActionsProvider',
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
isAutoDispose: true,
|
|
);
|
|
|
|
/// One operation state is shared by the compact card and its details dialog.
|
|
|
|
SubtitleTaskActionsProvider call(
|
|
EditorTimelineSession session,
|
|
String jobId,
|
|
) => SubtitleTaskActionsProvider._(argument: (session, jobId), from: this);
|
|
|
|
@override
|
|
String toString() => r'subtitleTaskActionsProvider';
|
|
}
|
|
|
|
/// One operation state is shared by the compact card and its details dialog.
|
|
|
|
abstract class _$SubtitleTaskActions
|
|
extends $Notifier<AsyncValue<SubtitleActionFeedback?>> {
|
|
late final _$args = ref.$arg as (EditorTimelineSession, String);
|
|
EditorTimelineSession get session => _$args.$1;
|
|
String get jobId => _$args.$2;
|
|
|
|
AsyncValue<SubtitleActionFeedback?> build(
|
|
EditorTimelineSession session,
|
|
String jobId,
|
|
);
|
|
@$mustCallSuper
|
|
@override
|
|
WhenComplete runBuild() {
|
|
final ref =
|
|
this.ref
|
|
as $Ref<
|
|
AsyncValue<SubtitleActionFeedback?>,
|
|
AsyncValue<SubtitleActionFeedback?>
|
|
>;
|
|
final element =
|
|
ref.element
|
|
as $ClassProviderElement<
|
|
AnyNotifier<
|
|
AsyncValue<SubtitleActionFeedback?>,
|
|
AsyncValue<SubtitleActionFeedback?>
|
|
>,
|
|
AsyncValue<SubtitleActionFeedback?>,
|
|
Object?,
|
|
Object?
|
|
>;
|
|
return element.handleCreate(ref, () => build(_$args.$1, _$args.$2));
|
|
}
|
|
}
|