renderButton method
Implementation
@override
Object? renderButton() {
if (disabled) {
content!.style.opacity = '0.7';
} else {
content!.style.opacity = '';
}
if (fontSize != null && fontSize!.isNotEmpty) {
return $span(style: 'font-size: $fontSize', content: _buttonContent);
} else {
return _buttonContent;
}
}