updateImage method
void
updateImage(})
Updates properties on an existing image block at blockIndex.
Implementation
void updateImage(
int blockIndex, {
String? src,
String? alt,
double? width,
double? height,
String? caption,
SmartTextAlign? alignment,
}) {
_documentController.updateImage(
blockIndex,
src: src,
alt: alt,
width: width,
height: height,
caption: caption,
alignment: alignment,
);
_editorWidgetState?.rebuild();
}