menu
viam_sdk
widgets/button.dart
ViamButton
onPressed property
onPressed
dark_mode
light_mode
onPressed
property
VoidCallback
?
onPressed
final
The action that should be performed when the button is pressed
Implementation
final VoidCallback? onPressed;
viam_sdk
button
ViamButton
onPressed property
ViamButton class