Files
pipelines/app/lib/features/chat/domain/chat_attachment_picker_stub.dart
T

14 lines
598 B
Dart

import 'chat_attachment_picker.dart';
/// Native fallback for the chat attachment picker.
///
/// No native file-picker plugin is a dependency of this slice, so a non-web
/// host reports the missing capability instead of pretending the operator
/// cancelled. The attach control can disable itself from [isSupported] and
/// show this exact explanation.
const String chatAttachmentUnsupportedMessage =
'Attaching files is not supported on this platform yet.';
ChatAttachmentPicker get hostChatAttachmentPicker =>
const ChatAttachmentPicker.unsupported(chatAttachmentUnsupportedMessage);