build method
override
Implementation
@override
String build() {
// Explicitly load image size before stringing the modifiers, to ensure any added inlineStyles will get inserted into the string as well
final String imageSize = this.imageSize;
String modifiers = this.modifiers;
if (loading != null) modifiers += ' loading="${loading!.name}"';
if (title != null) modifiers += ' title="${title!}"';
return '<img src="$src" alt="${alt.escape()}"$imageSize$modifiers />';
}