copyable_widget 1.0.0
copyable_widget: ^1.0.0 copied to clipboard
Zero-boilerplate clipboard copy for any Flutter widget or text. Long-press or tap to copy, with haptic feedback and SnackBar confirmation. Works on Android, iOS, Web, macOS, Windows, and Linux.
1.0.0 #
- Null safety: this version opts into sound null safety (previous versions did not)
- Initial release
Copyablewidget — wraps any widget with clipboard copy behaviorCopyable.text— drop-in Text replacement with copy on tap/long-pressCopyableFeedback.snackBar()— built-in SnackBar confirmation (default)CopyableFeedback.custom()— fully custom feedback via callbackCopyableFeedback.none()— silent copy with no UI feedbackCopyableActionMode.tap/.longPresswith auto-detection per platformCopyableEventpassed to custom feedback handler with value, timestamp, and modeHapticFeedbackStyleenum for configurable haptic response- Full platform support: Android, iOS, Web, macOS, Windows, Linux
- Zero external dependencies — Flutter SDK only