Button constructor
Construct a button object, wired to element
.
*
-
texts
- determines Button text corresponding to the state.
Implementation
Button(Element element, {Map<String, String>? texts}) :
this.texts = _copy(DEFAULT_TEXTS, texts),
super(element, _name);