sectionHeader method

dynamic sectionHeader(
  1. dynamic context,
  2. String sectionTitle
)

Implementation

Widget sectionHeader(BuildContext context, String sectionTitle) {
  return Row(
    children: [
      Text(
        sectionTitle,
        style: Theme.of(context).textTheme.titleSmall,
      ),
      const Spacer(),
      ActerInlineTextButton(
        onPressed: () => context.pushNamed(Routes.calendarEvents.name),
        child: Text(L10n.of(context).seeAll),
      ),
    ],
  );
}