Features
Custom Copy tool tip implementation
Usage
CopyWidget(
copyWidget: CopyToolTip(text: "Copy"),
overChildDistance: 26,
onOverlayTap: () {
print("onPressed");
///Add clipboard actions here
},
builder: (context, isOverlayShow) {
return Text(
"click to copy me!",
style: TextStyle(
color: isOverlayShow ? Colors.red : Colors.black,
),
);
},
)