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.
248 lines
7.0 KiB
Dart
248 lines
7.0 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'conversation_sidebar.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint, type=warning
|
|
|
|
@ProviderFor(savedConversationSelection)
|
|
final savedConversationSelectionProvider = SavedConversationSelectionFamily._();
|
|
|
|
final class SavedConversationSelectionProvider
|
|
extends $FunctionalProvider<AsyncValue<String?>, String?, FutureOr<String?>>
|
|
with $FutureModifier<String?>, $FutureProvider<String?> {
|
|
SavedConversationSelectionProvider._({
|
|
required SavedConversationSelectionFamily super.from,
|
|
required String? super.argument,
|
|
}) : super(
|
|
retry: null,
|
|
name: r'savedConversationSelectionProvider',
|
|
isAutoDispose: false,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$savedConversationSelectionHash();
|
|
|
|
@override
|
|
String toString() {
|
|
return r'savedConversationSelectionProvider'
|
|
''
|
|
'($argument)';
|
|
}
|
|
|
|
@$internal
|
|
@override
|
|
$FutureProviderElement<String?> $createElement($ProviderPointer pointer) =>
|
|
$FutureProviderElement(pointer);
|
|
|
|
@override
|
|
FutureOr<String?> create(Ref ref) {
|
|
final argument = this.argument as String?;
|
|
return savedConversationSelection(ref, argument);
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return other is SavedConversationSelectionProvider &&
|
|
other.argument == argument;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return argument.hashCode;
|
|
}
|
|
}
|
|
|
|
String _$savedConversationSelectionHash() =>
|
|
r'849182ed07f7227ba041f611ccdb3cbb1423f95e';
|
|
|
|
final class SavedConversationSelectionFamily extends $Family
|
|
with $FunctionalFamilyOverride<FutureOr<String?>, String?> {
|
|
SavedConversationSelectionFamily._()
|
|
: super(
|
|
retry: null,
|
|
name: r'savedConversationSelectionProvider',
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
isAutoDispose: false,
|
|
);
|
|
|
|
SavedConversationSelectionProvider call(String? projectId) =>
|
|
SavedConversationSelectionProvider._(argument: projectId, from: this);
|
|
|
|
@override
|
|
String toString() => r'savedConversationSelectionProvider';
|
|
}
|
|
|
|
/// Keeps a draft or explicit selection stable while the list refreshes.
|
|
|
|
@ProviderFor(ConversationSelection)
|
|
final conversationSelectionProvider = ConversationSelectionFamily._();
|
|
|
|
/// Keeps a draft or explicit selection stable while the list refreshes.
|
|
final class ConversationSelectionProvider
|
|
extends
|
|
$NotifierProvider<ConversationSelection, ConversationSelectionState> {
|
|
/// Keeps a draft or explicit selection stable while the list refreshes.
|
|
ConversationSelectionProvider._({
|
|
required ConversationSelectionFamily super.from,
|
|
required String? super.argument,
|
|
}) : super(
|
|
retry: null,
|
|
name: r'conversationSelectionProvider',
|
|
isAutoDispose: false,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$conversationSelectionHash();
|
|
|
|
@override
|
|
String toString() {
|
|
return r'conversationSelectionProvider'
|
|
''
|
|
'($argument)';
|
|
}
|
|
|
|
@$internal
|
|
@override
|
|
ConversationSelection create() => ConversationSelection();
|
|
|
|
/// {@macro riverpod.override_with_value}
|
|
Override overrideWithValue(ConversationSelectionState value) {
|
|
return $ProviderOverride(
|
|
origin: this,
|
|
providerOverride: $SyncValueProvider<ConversationSelectionState>(value),
|
|
);
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return other is ConversationSelectionProvider && other.argument == argument;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return argument.hashCode;
|
|
}
|
|
}
|
|
|
|
String _$conversationSelectionHash() =>
|
|
r'eef3c6c95f86b017e73d3244adccc257f717699b';
|
|
|
|
/// Keeps a draft or explicit selection stable while the list refreshes.
|
|
|
|
final class ConversationSelectionFamily extends $Family
|
|
with
|
|
$ClassFamilyOverride<
|
|
ConversationSelection,
|
|
ConversationSelectionState,
|
|
ConversationSelectionState,
|
|
ConversationSelectionState,
|
|
String?
|
|
> {
|
|
ConversationSelectionFamily._()
|
|
: super(
|
|
retry: null,
|
|
name: r'conversationSelectionProvider',
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
isAutoDispose: false,
|
|
);
|
|
|
|
/// Keeps a draft or explicit selection stable while the list refreshes.
|
|
|
|
ConversationSelectionProvider call(String? projectId) =>
|
|
ConversationSelectionProvider._(argument: projectId, from: this);
|
|
|
|
@override
|
|
String toString() => r'conversationSelectionProvider';
|
|
}
|
|
|
|
/// Keeps a draft or explicit selection stable while the list refreshes.
|
|
|
|
abstract class _$ConversationSelection
|
|
extends $Notifier<ConversationSelectionState> {
|
|
late final _$args = ref.$arg as String?;
|
|
String? get projectId => _$args;
|
|
|
|
ConversationSelectionState build(String? projectId);
|
|
@$mustCallSuper
|
|
@override
|
|
WhenComplete runBuild() {
|
|
final ref =
|
|
this.ref
|
|
as $Ref<ConversationSelectionState, ConversationSelectionState>;
|
|
final element =
|
|
ref.element
|
|
as $ClassProviderElement<
|
|
AnyNotifier<
|
|
ConversationSelectionState,
|
|
ConversationSelectionState
|
|
>,
|
|
ConversationSelectionState,
|
|
Object?,
|
|
Object?
|
|
>;
|
|
return element.handleCreate(ref, () => build(_$args));
|
|
}
|
|
}
|
|
|
|
@ProviderFor(ConversationSidebar)
|
|
final conversationSidebarProvider = ConversationSidebarProvider._();
|
|
|
|
final class ConversationSidebarProvider
|
|
extends $AsyncNotifierProvider<ConversationSidebar, ConversationSnapshot> {
|
|
ConversationSidebarProvider._()
|
|
: super(
|
|
from: null,
|
|
argument: null,
|
|
retry: null,
|
|
name: r'conversationSidebarProvider',
|
|
isAutoDispose: false,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$conversationSidebarHash();
|
|
|
|
@$internal
|
|
@override
|
|
ConversationSidebar create() => ConversationSidebar();
|
|
}
|
|
|
|
String _$conversationSidebarHash() =>
|
|
r'13122a844ce87622c8d4919042e4dbefc69b790f';
|
|
|
|
abstract class _$ConversationSidebar
|
|
extends $AsyncNotifier<ConversationSnapshot> {
|
|
FutureOr<ConversationSnapshot> build();
|
|
@$mustCallSuper
|
|
@override
|
|
WhenComplete runBuild() {
|
|
final ref =
|
|
this.ref
|
|
as $Ref<AsyncValue<ConversationSnapshot>, ConversationSnapshot>;
|
|
final element =
|
|
ref.element
|
|
as $ClassProviderElement<
|
|
AnyNotifier<
|
|
AsyncValue<ConversationSnapshot>,
|
|
ConversationSnapshot
|
|
>,
|
|
AsyncValue<ConversationSnapshot>,
|
|
Object?,
|
|
Object?
|
|
>;
|
|
return element.handleCreate(ref, build);
|
|
}
|
|
}
|