Skip to content

Instantly share code, notes, and snippets.

@enzoftware
Created July 19, 2021 02:38
Show Gist options
  • Save enzoftware/150b33adbb2e411788e179504ce33874 to your computer and use it in GitHub Desktop.
Save enzoftware/150b33adbb2e411788e179504ce33874 to your computer and use it in GitHub Desktop.
// 1
return MergeSemantics(
child: ListTileTheme.merge(
selectedColor: activeColor ?? Theme.of(context).accentColor,
// 2
child: ListTile(
leading: leading,
// 3
title: title,
subtitle: subtitle,
// 4
trailing: trailing,
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment