seeAllTrailing method

Widget seeAllTrailing(
  1. BuildContext context, {
  2. Function? onTap,
  3. required String onSeeAllButtonText,
})

Implementation

Widget seeAllTrailing(BuildContext context,
    {Function? onTap, required String onSeeAllButtonText}) {
  return InkWell(
    onTap: () {
      if (onTap != null) {
        onTap();
      }
    },
    child: small(context, onSeeAllButtonText,
        color: Theme.of(context).textTheme.displayMedium!.color),
  );
}