The type of the command doesn't matter for the ass...
# tornadofx
e
The type of the command doesn't matter for the assignment. We could actually also add a command parameter to the button builder, but I don't know if it's worth it.
button("Click me", command = myCommand with myParam)
.