getRightIcon method
Implementation
Widget? getRightIcon() {
if (rightIcon != null) {
if (highlighted) {
return GestureDetector(
onTap: onRightIconTap,
child: Icon(
rightIcon!,
color: TUIDefaultColors.onSecondary,
size: size._rightIconSize,
),
);
} else {
return GestureDetector(
onTap: onRightIconTap,
child: Icon(
rightIcon!,
size: size._rightIconSize,
),
);
}
}
return null;
}