disabled method
A modifier that disabled the Button, making it unable for the user to press it.
Example:
Button(() => Text("Tap me if you can"))
.disabled(true);
``
Implementation
Button disabled(bool? disabled) {
return _rebase(disabled: disabled ?? true);
}