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

13 lines
549 B
Dart

import 'chat_clipboard_paste.dart';
/// Native fallback for clipboard-file paste.
///
/// The composer keeps the host field's own text paste on every platform; this
/// slice observes clipboard files on web only. A non-web host reports that
/// missing capability rather than pretending no paste happened.
const String chatClipboardPasteUnsupportedMessage =
'Pasting files is not supported on this platform yet.';
ChatClipboardPaste get hostChatClipboardPaste =>
const ChatClipboardPaste.unsupported(chatClipboardPasteUnsupportedMessage);