copySensitive method

  1. @override
Future<void> copySensitive(
  1. String text, {
  2. Duration expiry = const Duration(seconds: 30),
})
override

Copies text to the clipboard marked sensitive (not synced, hidden from previews where the OS allows) and clears it after expiry (FR-FAC-05).

Implementation

@override
Future<void> copySensitive(
  String text, {
  Duration expiry = const Duration(seconds: 30),
}) async => clipboard = (text, expiry);