onTap property

the function run when press the button

Implementation

final StateFunction<StateOutlinedButton, ButtonState> onTap;