File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
best_flutter_ui_templates/lib Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,9 @@ class _HomeDrawerState extends State<HomeDrawer> {
154154 Icons .power_settings_new,
155155 color: Colors .red,
156156 ),
157- onTap: () {},
157+ onTap: () {
158+ onTapped ();
159+ },
158160 ),
159161 SizedBox (
160162 height: MediaQuery .of (context).padding.bottom,
@@ -165,6 +167,10 @@ class _HomeDrawerState extends State<HomeDrawer> {
165167 ),
166168 );
167169 }
170+
171+ void onTapped () {
172+ print ('Doing Something...' ); // Print to console.
173+ }
168174
169175 Widget inkwell (DrawerList listData) {
170176 return Material (
Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ class _InviteFriendState extends State<InviteFriend> {
7070 child: Material (
7171 color: Colors .transparent,
7272 child: InkWell (
73- onTap: () {},
73+ onTap: () {
74+ //method here for functionality
75+ print ('Share Action.' );
76+ },
7477 child: Center (
7578 child: Row (
7679 mainAxisAlignment: MainAxisAlignment .center,
You can’t perform that action at this time.
0 commit comments