timeline_tile icon indicating copy to clipboard operation
timeline_tile copied to clipboard

Feature Request: Add onTap

Open chitgoks opened this issue 5 years ago • 2 comments

Would be nice to have this.

chitgoks avatar Jun 13 '20 08:06 chitgoks

A callback to add onTap functionality to the default indicator is definitely a good suggestion. The question is if I should ignore it when a custom indicator is provided. Considering that this custom indicator may have its own onTap callback.

JHBitencourt avatar Jun 16 '20 03:06 JHBitencourt

for now what i did was add gesturedetector on the TimelineTile. and in the indicator property, i replaced it with a circleavatar with iconbutton as child so the indicator is clickable. then set the indicator style to 50,50 width height to have it the same size as your circle default painted canvas.

chitgoks avatar Jun 16 '20 03:06 chitgoks