ExtendedImageWithAssetsPicker class
Constructors
-
ExtendedImageWithAssetsPicker(ImageProvider<Object> image, {Key? key, ExtendedImageLoadStateBuilder? loading, ExtendedImageLoadStateBuilder? failed, double? width, double? height, BoxFit? fit = BoxFit.cover})
-
-
ExtendedImageWithAssetsPicker.asset(String name, {Key? key, ExtendedImageLoadStateBuilder? loading, ExtendedImageLoadStateBuilder? failed, double? width, double? height, BoxFit? fit = BoxFit.cover})
-
-
ExtendedImageWithAssetsPicker.file(File file, {Key? key, ExtendedImageLoadStateBuilder? loading, ExtendedImageLoadStateBuilder? failed, double? width, double? height, BoxFit? fit = BoxFit.cover})
-
-
ExtendedImageWithAssetsPicker.memory(Uint8List bytes, {Key? key, ExtendedImageLoadStateBuilder? loading, ExtendedImageLoadStateBuilder? failed, double? width, double? height, BoxFit? fit = BoxFit.cover})
-
-
ExtendedImageWithAssetsPicker.network(String url, {Key? key, ExtendedImageLoadStateBuilder? loading, ExtendedImageLoadStateBuilder? failed, double? width, double? height, BoxFit? fit = BoxFit.cover})
-
Properties
-
afterPaintImage
→ AfterPaintImage?
-
you can paint anything if you want after paint image.
it's to used in ExtendedRawImage
and ExtendedRenderImage
finalinherited
-
alignment
→ AlignmentGeometry
-
How to align the image within its bounds.
finalinherited
-
beforePaintImage
→ BeforePaintImage?
-
you can paint anything if you want before paint image.
it's to used in ExtendedRawImage
and ExtendedRenderImage
finalinherited
-
border
→ BoxBorder?
-
A border to draw above the background color,
gradient
, or image.
finalinherited
-
borderRadius
→ BorderRadius?
-
If non-null, the corners of this box are rounded by this BorderRadius.
finalinherited
-
centerSlice
→ Rect?
-
The center slice for a nine-patch image.
finalinherited
-
clearMemoryCacheIfFailed
→ bool
-
when failed to load image, whether clear memory cache
if true, image will reload in next time.
finalinherited
-
clearMemoryCacheWhenDispose
→ bool
-
when image is removed from the tree permanently, whether clear memory cache
finalinherited
-
clipBehavior
→ Clip
-
finalinherited
-
color
→ Color?
-
If non-null, this color is blended with each image pixel using colorBlendMode.
finalinherited
-
colorBlendMode
→ BlendMode?
-
Used to combine color with this image.
finalinherited
-
constraints
→ BoxConstraints?
-
finalinherited
-
enableLoadState
→ bool
-
whether has loading or failed state
default is false
but network image is true
better to set it's true when your image is big and take some time to ready
finalinherited
-
enableMemoryCache
→ bool
-
whether cache in PaintingBinding.instance.imageCache
finalinherited
-
enableSlideOutPage
→ bool
-
whether enable slide out page
you should make sure this is in ExtendedImageSlidePage
finalinherited
-
excludeFromSemantics
→ bool
-
Whether to exclude this image from semantics.
finalinherited
-
extendedImageEditorKey
→ Key?
-
key of ExtendedImageEditor
finalinherited
-
extendedImageGestureKey
→ Key?
-
key of ExtendedImageGesture
finalinherited
-
failed
→ ExtendedImageLoadStateBuilder?
-
final
-
filterQuality
→ FilterQuality
-
Used to set the FilterQuality of the image.
finalinherited
-
fit
→ BoxFit?
-
How to inscribe the image into the space allocated during layout.
finalinherited
-
gaplessPlayback
→ bool
-
Whether to continue showing the old image (true), or briefly show nothing
(false), when the image provider changes. The default value is false.
finalinherited
-
handleLoadingProgress
→ bool
-
whether handle loading progress for network
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
height
→ double?
-
If non-null, require the image to have this height.
finalinherited
-
heroBuilderForSlidingPage
→ HeroBuilderForSlidingPage?
-
build Hero only for sliding page
finalinherited
-
image
→ ImageProvider<Object>
-
The image to display.
finalinherited
-
initEditorConfigHandler
→ InitEditorConfigHandler?
-
init EditConfig when image is ready.
finalinherited
-
initGestureConfigHandler
→ InitGestureConfigHandler?
-
init GestureConfig when image is ready.
finalinherited
-
isAntiAlias
→ bool
-
Whether to paint the image with anti-aliasing.
finalinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
layoutInsets
→ EdgeInsets
-
Insets to apply before laying out the image.
finalinherited
-
loading
→ ExtendedImageLoadStateBuilder?
-
final
-
loadStateChanged
→ LoadStateChanged?
-
custom load state widget if you want
finalinherited
-
matchTextDirection
→ bool
-
Whether to paint the image in the direction of the TextDirection.
finalinherited
-
mode
→ ExtendedImageMode
-
image mode (none,gesture)
finalinherited
-
onDoubleTap
→ DoubleTap?
-
call back of double tap under ExtendedImageMode.gesture
finalinherited
-
opacity
→ Animation<double>?
-
If non-null, the value from the Animation is multiplied with the opacity
of each image pixel before painting onto the canvas.
finalinherited
-
repeat
→ ImageRepeat
-
How to paint any portions of the layout bounds not covered by the image.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
semanticLabel
→ String?
-
A Semantic description of the image.
finalinherited
-
shape
→ BoxShape?
-
The shape to fill the background color,
gradient
, and image into and
to cast as the boxShadow
.
finalinherited
-
width
→ double?
-
If non-null, require the image to have this width.
finalinherited