dependencies/octo_image/src/image/image library

Classes

OctoImage
OctoImage can be used as a replacement of Image. It can be used with any ImageProvider, but works best with CachedNetworkImageProvider. OctoImage can show a placeholder or progress and an error. It can also do transformations on the shown image. This all can be simplified by using a complete OctoSet with predefined combinations of OctoPlaceholderBuilder, OctoImageBuilder and OctoErrorBuilder.

Typedefs

OctoErrorBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)
OctoImageBuilder = Widget Function(BuildContext context, Widget child)
OctoPlaceholderBuilder = Widget Function(BuildContext context)
OctoProgressIndicatorBuilder = Widget Function(BuildContext context, ImageChunkEvent? progress)