renderButton method
Implementation
@override
dynamic renderButton() {
if (disabled) {
content!.style.opacity = '0.7';
} else {
content!.style.opacity = '';
}
if (isNotEmptyString(text)) {
if (fontSize != null) {
return "<span style='font-size: $fontSize'>$text</span>";
} else {
return text;
}
} else if (buttonContent != null) {
return buttonContent;
} else {
return 'Photo';
}
}