onPressed
Also written: onTap, VoidCallback
The function a button runs on each tap; `null` disables it. `onTap` is the same idea for `InkWell`, typed as `VoidCallback` (a function taking and returning nothing).
Also written: onTap, VoidCallback
The function a button runs on each tap; `null` disables it. `onTap` is the same idea for `InkWell`, typed as `VoidCallback` (a function taking and returning nothing).