Set click event of right side text. @Note: It will not work if rightText is empty or not set.
final Function? rightTextClick;