render method
Renders the elements of this component.
Accepted return types:
Implementation
@override
dynamic render() {
if (_load.isNotLoaded) return '...';
if (_icon != null) {
_icon!.remove();
}
if (_textElement != null) {
_textElement!.remove();
}
_icon = BootstrapIcons.svgIconElement('calendar');
_textElement = createHTML('''
<div class="form-control" style="max-width: 80vw; white-space: nowrap; text-overflow: ellipsis;"></div>
''');
_textElement!.children.add(_icon!);
_configureLocale();
_buildDateRanges();
_configureDatePicker();
return _textElement;
}