rafalbednarczuk/curved_navigation_bar

Change onTap signature

ArtemZip opened this issue · 1 comments

Hi,

I think it will be better if onTap will be function with index, element arguments.
It's useful if you want to change the element color or something like that.
Also, the same thing will be useful for the unselected element.

Thanks,
Artem

onTap is a function with index as a parameter