0

(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',
                        ),
                      ),
                    ),
tomerpacific
  • 4,704
  • 13
  • 34
  • 52

1 Answers1

0

GestureDetector may not be working because it also has a double click function.

Abdulkadir
  • 56
  • 4