buttonFunc property
dynamic Function()?
buttonFunc
final
Callback function triggered when the button is tapped. If null, the button will appear disabled (but still visible).
Implementation
final Function()? buttonFunc;