Button class
Constructors
- 
          Button({String? id, Map<String, String> ? attributes, Map<String, dynamic> ? style, String? className, List<Component> ? children, void onClick(Event)?, void onDoubleClick(Event)?, void onContextMenu(Event)?, void onKeyDown(Event)?, void onKeyPress(Event)?, void onKeyUp(Event)?, void onMouseOver(Event)?, void onMouseOut(Event)?, void onMouseDown(Event)?, void onMouseUp(Event)?, void onMouseMove(Event)?})
Properties
- 
  attributes
  → Map<String, String> ?
- 
  The attributes of the element.
  finalinherited
- 
  children
  → List<Component> ?
- 
  The children of the element.
  finalinherited
- className → String?
- 
  Css class name of the element.
  finalinherited
- element ↔ HTMLElement?
- 
  
  getter/setter pairinherited
- 
  eventListeners
  ↔ List<Map< String, dynamic> >
- 
  
  getter/setter pairinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → String?
- 
  The id of the element.
  finalinherited
- onBlur → void Function(Event)?
- 
  
  finalinherited
- onChange → void Function(Event)?
- 
  
  finalinherited
- onClick → void Function(Event)?
- 
  Callback for the clickevent.finalinherited
- onContextMenu → void Function(Event)?
- 
  Callback for the contextmenuevent.finalinherited
- onDoubleClick → void Function(Event)?
- 
  Callback for the doubleclickevent.finalinherited
- onDrag → void Function(Event)?
- 
  
  finalinherited
- onDragEnd → void Function(Event)?
- 
  
  finalinherited
- onDragEnter → void Function(Event)?
- 
  
  finalinherited
- onDragLeave → void Function(Event)?
- 
  
  finalinherited
- onDragOver → void Function(Event)?
- 
  
  finalinherited
- onDragStart → void Function(Event)?
- 
  
  finalinherited
- onDrop → void Function(Event)?
- 
  
  finalinherited
- onFocus → void Function(Event)?
- 
  
  finalinherited
- onInput → void Function(Event)?
- 
  
  finalinherited
- onKeyDown → void Function(Event)?
- 
  
  finalinherited
- onKeyPress → void Function(Event)?
- 
  
  finalinherited
- onKeyUp → void Function(Event)?
- 
  
  finalinherited
- onMouseDown → void Function(Event)?
- 
  
  finalinherited
- onMouseMove → void Function(Event)?
- 
  
  finalinherited
- onMouseOut → void Function(Event)?
- 
  
  finalinherited
- onMouseOver → void Function(Event)?
- 
  
  finalinherited
- onMouseUp → void Function(Event)?
- 
  
  finalinherited
- onScroll → void Function(Event)?
- 
  
  finalinherited
- 
  onStackChange
  ↔ StreamController<(String, Component)> 
- 
  
  getter/setter pairinherited
- onSubmit → void Function(Event)?
- 
  
  finalinherited
- onWheel → void Function(Event)?
- 
  
  finalinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  style
  → Map<String, dynamic> ?
- 
  The style of the element.
  finalinherited
- tag → String
- 
  The tag name of the element.
  finalinherited
Methods
- 
  addClass(String className) → void 
- 
  addEventListener(String event, void callback(Event), {Map< String, String> ? options}) → void
- 
  
  inherited
- 
  append(Component child) → void 
- 
  
  inherited
- 
  attr(String name, [String? value]) → String? 
- 
  clear() → void 
- 
  
  inherited
- 
  hasClass(String className) → void 
- 
  hide() → void 
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  remove() → void 
- 
  
  inherited
- 
  removeAtptr(String name) → void 
- 
  removeClass(String className) → void 
- 
  removeEventListener(String event, void callback(Event), {Map< String, String> ? options}) → void
- 
  
  inherited
- 
  render() → Element 
- 
  Creates an HTML Element represention of Component.
  inherited
- 
  show([String? display]) → void 
- 
  toggle([String? display]) → void 
- 
  toggleClass(String className) → void 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  update() → void 
- 
  Re-renders the component.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited