Component - IconButton
The IconButton widget in Flutter is a button that shows an icon instead of text. It reacts to taps by calling a function you provide, making it useful for toolbar buttons or any clickable icon.
The IconButton widget in Flutter is a button that shows an icon instead of text. It reacts to taps by calling a function you provide, making it useful for toolbar buttons or any clickable icon.
Scaffold ├─ AppBar │ └─ IconButton └─ Center └─ Text