iconButton function
[Widget] iconButton(
)
It prints "tapped" in the console for the developer to know that the button was tapped.
params:
key
: Key of the Widgeticon
: Icon to be displayedonTap
: on tap function
returns:
Widget
: returns IconButton.
Implementation
Widget iconButton(String key, Widget icon, void onTap)
- talawa
- invite_child
- iconButton function