call a file by Listtile

Asked

Viewed 38 times

0

I have an apparently simple doubt (difficult for me as a beginner), but I created a navigation Drawer, and in this Drawer has the Listtile, I need to know how to call a file by this list.

ListTile(
              title: Text('Calculadora'),
              onTap: () {

                Navigator.pop(context);
              },

I have a file "Calculator.dart", but do not know what function I put to change the pay.

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.