withDisabled

@CheckReturnValue
fun withDisabled(disabled: Boolean): ButtonFactory(source)

Creates a new button factory with the provided disabled state.