placeholder property

Widget? placeholder
final

Widget displayed in place of the image while provider is loading and if loading fails. Ignored for asset images.

When null, the image background color is shown as a plain placeholder.

Implementation

final Widget? placeholder;