(ie, ontap > navigation happens > back click, again ontap > no navigation)
GestureDetector(
onTap: () => model.navigateToSetting(),
child: ListTile(
title: Text(
'Settings',
semanticsLabel: 'Settings',
style: Theme.of(context)
.primaryTextTheme
.headline6!
.copyWith(
fontSize: 22.0,
fontWeight: FontWeight.bold,
),
),
subtitle: Text(
'Notifications, Feedback, App Info, Terms & Privacy Policy, Logout',
style: Theme.of(context)
.textTheme
.subtitle2!
.copyWith(
color: Theme.of(context).primaryColor,
fontSize: 15),
semanticsLabel:
'Notifications, Feedback, App Info, Terms & Privacy Policy, Logout',
),
),
),