menu
custom_state package
documentation
state_button/state_button.dart
StateButton
onTap property
onTap property
dark_mode
light_mode
onTap
property
StateFunction
<
StateButton
,
ButtonState
>
onTap
final
the function run when press the button
Implementation
final StateFunction<StateButton, ButtonState> onTap;
custom_state package
documentation
state_button/state_button
StateButton
onTap property
StateButton class