button constructor
const
button(})
The <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs a programmable action, such as submitting a form or opening a dialog.
Implementation
const button(
this.children, {
this.autofocus = false,
this.disabled = false,
this.type,
this.onClick,
this.id,
this.classes,
this.styles,
this.attributes,
this.events,
super.key,
});