Files
lingjhf 27e77fff39 feat: initial Cutdex application
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.
2026-10-05 23:36:23 +08:00

134 lines
3.5 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'chat_controller.dart';
// **************************************************************************
// RiverpodGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Presentation state for one project conversation.
@ProviderFor(ChatController)
final chatControllerProvider = ChatControllerFamily._();
/// Presentation state for one project conversation.
final class ChatControllerProvider
extends $NotifierProvider<ChatController, ChatState> {
/// Presentation state for one project conversation.
ChatControllerProvider._({
required ChatControllerFamily super.from,
required (String, {String? conversationId, String? draftKey})
super.argument,
}) : super(
retry: null,
name: r'chatControllerProvider',
isAutoDispose: true,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$chatControllerHash();
@override
String toString() {
return r'chatControllerProvider'
''
'$argument';
}
@$internal
@override
ChatController create() => ChatController();
/// {@macro riverpod.override_with_value}
Override overrideWithValue(ChatState value) {
return $ProviderOverride(
origin: this,
providerOverride: $SyncValueProvider<ChatState>(value),
);
}
@override
bool operator ==(Object other) {
return other is ChatControllerProvider && other.argument == argument;
}
@override
int get hashCode {
return argument.hashCode;
}
}
String _$chatControllerHash() => r'b10209ff2924c59cc7c70c57db289a73837aa257';
/// Presentation state for one project conversation.
final class ChatControllerFamily extends $Family
with
$ClassFamilyOverride<
ChatController,
ChatState,
ChatState,
ChatState,
(String, {String? conversationId, String? draftKey})
> {
ChatControllerFamily._()
: super(
retry: null,
name: r'chatControllerProvider',
dependencies: null,
$allTransitiveDependencies: null,
isAutoDispose: true,
);
/// Presentation state for one project conversation.
ChatControllerProvider call(
String projectId, {
String? conversationId,
String? draftKey,
}) => ChatControllerProvider._(
argument: (projectId, conversationId: conversationId, draftKey: draftKey),
from: this,
);
@override
String toString() => r'chatControllerProvider';
}
/// Presentation state for one project conversation.
abstract class _$ChatController extends $Notifier<ChatState> {
late final _$args =
ref.$arg as (String, {String? conversationId, String? draftKey});
String get projectId => _$args.$1;
String? get conversationId => _$args.conversationId;
String? get draftKey => _$args.draftKey;
ChatState build(String projectId, {String? conversationId, String? draftKey});
@$mustCallSuper
@override
WhenComplete runBuild() {
final ref = this.ref as $Ref<ChatState, ChatState>;
final element =
ref.element
as $ClassProviderElement<
AnyNotifier<ChatState, ChatState>,
ChatState,
Object?,
Object?
>;
return element.handleCreate(
ref,
() => build(
_$args.$1,
conversationId: _$args.conversationId,
draftKey: _$args.draftKey,
),
);
}
}