Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add onTap #5

Open
chitgoks opened this issue Jun 13, 2020 · 2 comments
Open

Feature Request: Add onTap #5

chitgoks opened this issue Jun 13, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@chitgoks
Copy link

Would be nice to have this.

@JHBitencourt JHBitencourt added the enhancement New feature or request label Jun 16, 2020
@JHBitencourt
Copy link
Owner

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.

@chitgoks
Copy link
Author

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.

@JHBitencourt JHBitencourt self-assigned this Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants