getListTitleTheme static method

ListTileTheme getListTitleTheme({
  1. required BuildContext context,
  2. required Widget child,
})

Implementation

static ListTileTheme getListTitleTheme({
  required BuildContext context,
  required Widget child,
}) {
  final theme = Theme.of(context);

  return ListTileTheme(
    iconColor: theme.iconTheme.color,
    textColor: ThemeHelper.texts.getBodyTextStyle(context).color,
    dense: true,
    child: child,
  );
}