Widget topic

Support for displaying a SccalableImage in a widget. ScalableImages can be used directly, but sometimes it's more convenient to use a ScalableImageWidget.

Classes

ExportedIDLookup Widget
Used to look up what part of a ScalableImage is clicked on within a ScalableImageWidget.
ExportedIDLookup Widget
Used to look up what part of a ScalableImage is clicked on within a ScalableImageWidget.
ScalableImageCache Widget
An LRU cache of ScalableImage futures derived from ScalableImageSource instances. A cache with a non-zero size could make sense, for example, as part of the state of a stateful widget that builds entries on demand, and that uses ScalableImageWidget.fromSISource to asynchronously load scalable images. See, for example, cache.dart in the example directory.
ScalableImageCache Widget
An LRU cache of ScalableImage futures derived from ScalableImageSource instances. A cache with a non-zero size could make sense, for example, as part of the state of a stateful widget that builds entries on demand, and that uses ScalableImageWidget.fromSISource to asynchronously load scalable images. See, for example, cache.dart in the example directory.
ScalableImageSource Widget
An asynchronous source of a ScalableImage. This is used for asynchronous loading of an SI asset by a ScalableImageWidget, e.g from an AssetBundle. This class may be subclassed by clients of this library, e.g. for loading from other network sources.
ScalableImageSource Widget
An asynchronous source of a ScalableImage. This is used for asynchronous loading of an SI asset by a ScalableImageWidget, e.g from an AssetBundle. This class may be subclassed by clients of this library, e.g. for loading from other network sources.
ScalableImageWidget Widget
A widget for displaying a ScalableImage. The image can be automatically scaled by the widget, and fit into the available area with a BoxFit and an Alignment.
ScalableImageWidget Widget
A widget for displaying a ScalableImage. The image can be automatically scaled by the widget, and fit into the available area with a BoxFit and an Alignment.
ScalingTransform Core Widget
A coordinate system transformation to fit a ScalableImage into a given container, for a given BoxFit and Alignment. This class is offered as a convenience for scaling ScalableImage instances. It also helps converting positions as rendered back into the ScalableImage's coordinate, e.g. when mapping a touch event into the original SVG's coordinate space.
ScalingTransform Core Widget
A coordinate system transformation to fit a ScalableImage into a given container, for a given BoxFit and Alignment. This class is offered as a convenience for scaling ScalableImage instances. It also helps converting positions as rendered back into the ScalableImage's coordinate, e.g. when mapping a touch event into the original SVG's coordinate space.