build method
Implementation
@override
String build() => [
'<textarea',
if (cols != null) ' cols="$cols"',
if (disabled) ' disabled',
if (form != null) ' form="$form"',
if (maxlength != null) ' maxlength="$maxlength"',
if (name != null) ' name="$name"',
if (placeholder != null) ' placeholder="$placeholder"',
if (readonly) ' readonly',
if (required) ' required',
if (rows != null) ' rows="$rows"',
if (wrap != null) ' wrap="${mapperWrapTextarea(wrap!)}"',
if (accesskey != null) ' accesskey="$accesskey"',
if (autofocus) ' autofocus',
if (classList != null && classList!.isNotEmpty)
' class="${classList!.map((e) => e.name).join(' ')}"',
if (contentEditable) ' contenteditable',
if (contextmenu != null) ' contextmenu="$contextmenu"',
if (dir != null) ' dir="$dir"',
if (hidden) ' hidden',
if (id != null) ' id="$id"',
if (lang != null) ' lang="$lang"',
if (role != null) ' role="$role"',
if (spellcheck) ' spellcheck',
if (styleList != null && styleList!.isNotEmpty)
' style="${styleList!.map((e) => e.build()).join(';')}"',
if (tabindex != null) ' tabindex="$tabindex"',
if (title != null) ' title="$title"',
if (onblur != null) ' onblur="$onblur"',
if (onchange != null) ' onchange="$onchange"',
if (onclick != null) ' onclick="$onclick"',
if (ondblclick != null) ' ondblclick="$ondblclick"',
if (onfocus != null) ' onfocus="$onfocus"',
if (onkeydown != null) ' onkeydown="$onkeydown"',
if (onkeypress != null) ' onkeypress="$onkeypress"',
if (onkeyup != null) ' onkeyup="$onkeyup"',
if (onload != null) ' onload="$onload"',
if (onmousedown != null) ' onmousedown="$onmousedown"',
if (onmousemove != null) ' onmousemove="$onmousemove"',
if (onmouseout != null) ' onmouseout="$onmouseout"',
if (onmouseover != null) ' onmouseover="$onmouseover"',
if (onmouseup != null) ' onmouseup="$onmouseup"',
if (onreset != null) ' onreset="$onreset"',
if (onselect != null) ' onselect="$onselect"',
if (onsubmit != null) ' onsubmit="$onsubmit"',
if (onunload != null) ' onunload="$onunload"',
'>',
super.build(),
'</textarea>',
].join();