TCopyable.text constructor
const
TCopyable.text(})
Creates a copyable text widget with optional monospace styling.
Implementation
const TCopyable.text(
this.text, {
super.key,
this.style,
this.monospace = false,
this.showButtonAlways = false,
this.buttonSize = TButtonSize.xxs,
this.buttonLabel,
this.showToast = false,
this.tooltip = 'Copy to clipboard',
}) : child = null;