imageBuilder property

Widget Function(String src, String alt, Widget fallback)? imageBuilder
final

Custom builder for inline images (![alt](src)).

Receives the image source, alternate text, and the default fallback widget. Return any widget, e.g. CachedNetworkImage or a local asset loader. If null, images load from the network via Image.network.

Implementation

final Widget Function(String src, String alt, Widget fallback)? imageBuilder;