too library
IconToo
& ImageToo
Classes
- DecorationImagePainterToo
- The painter for a DecorationImageToo.
- DecorationImageToo
- An image to show in a BoxDecoration which supports the Repeat rendering modes including Repeat.mirror.
- DecorationImg
- A shorthand wrapper for DecorationImageToo.
- IconToo
- 🙋♂️ I'm an Icon Too!
- ImageToo
- A StatefulWidget that renders an image according to a swath of optional properties. Several constructors are provided for painting an image from a variety of sources.
- Img
- A shorthand wrapper for ImageToo.
- InkImg
- A convenience widget for drawing images and other decorations on Material widgets, so that InkWell and InkResponse splashes will render over them.
Enums
- Repeat
- How to paint any portions of a box not covered by an image.
Extensions
- BytesToTexture on Uint8List
-
Provides toSeamlessTexture that considers
this Uin8List
as bytes that describe an image and returns an ImageToo widget. - FileToTexture on File
-
Provides toSeamlessTexture that considers
this File
as a file that leads to an image and returns an ImageToo widget. - IconUtils on Icon
- 🗜️ Icon Utilities
- StringToTexture on String
-
Provides toSeamlessTexture that considers
this String
as a URL that leads to an image and returns an ImageToo widget.
This is default behavior.
Functions
-
debugFlushLastFrameImageSizeInfo(
) → void - Flushes inter-frame tracking of image size information from paintImage.
-
paintImageToo(
{required Canvas canvas, required Rect rect, required Image image, String? debugImageLabel, double scale = 1.0, ColorFilter? colorFilter, BoxFit? fit, Alignment alignment = Alignment.center, Rect? centerSlice, Repeat repeat = Repeat.noRepeat, Offset mirrorOffset = Offset.zero, bool flipHorizontally = false, bool invertColors = false, FilterQuality filterQuality = FilterQuality.low, bool isAntiAlias = false}) → void - Paints an image into the given rectangle on the canvas.