IDKitImage class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- IDKitImage
- Available Extensions
Constructors
- IDKitImage({Key? key, Image? image, ByteData? byteData, ByteBuffer? byteBuffer, ImmutableBuffer? immutableBuffer, Uint8List? uint8List, Uint32List? uint32List, PixelFormat? pixelFormat, double? width, double? height, Color? activityIndicatorColor, Widget? loadingChild, Widget? errorChild})
-
const
- IDKitImage.byteBuffer({Key? key, required ByteBuffer? byteBuffer, double? width, double? height, Color? activityIndicatorColor, Widget? loadingChild, Widget? errorChild})
-
Image resource loading method of ByteBuffer type.
const
- IDKitImage.byteData({Key? key, required ByteData? byteData, double? width, double? height, Color? activityIndicatorColor, Widget? loadingChild, Widget? errorChild})
-
Image resource loading method of ByteData type.
const
- IDKitImage.image({Key? key, required Image? image, double? width, double? height, Color? activityIndicatorColor, Widget? loadingChild, Widget? errorChild})
-
Image resource loading method of Image type.
const
- IDKitImage.immutableBuffer({Key? key, required ImmutableBuffer? immutableBuffer, double? width, double? height, Color? activityIndicatorColor, Widget? loadingChild, Widget? errorChild})
-
Image resource loading method of ImmutableBuffer type.
const
- IDKitImage.uint32List({Key? key, required Uint32List? uint32List, required double iWidth, required double iHeight, Color? activityIndicatorColor, PixelFormat? pixelFormat = PixelFormat.rgba8888, Widget? loadingChild, Widget? errorChild})
-
Image resource loading method of Uint32List type.
const
- IDKitImage.uint8List({Key? key, required Uint8List? uint8List, double? width, double? height, Color? activityIndicatorColor, Widget? loadingChild, Widget? errorChild})
-
Image resource loading method of Uint8List type.
const
Properties
- activityIndicatorColor → Color?
-
ActivityIndicator Color
final
- byteBuffer → ByteBuffer?
-
Image resource of type byteBuffer.
final
- byteData → ByteData?
-
Image resource of type byteData.
final
- errorChild → Widget?
-
Widget for image load failure display.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Set the height of the displayed image.
final
- image → Image?
-
Image resources of type ui.Image.
final
- immutableBuffer → ImmutableBuffer?
-
Image resource of type immutableBuffer.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- loadingChild → Widget?
-
Widget displayed on image load.
final
- pixelFormat → PixelFormat?
-
The format of pixel data given to decodeImageFromPixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uint8List → Uint8List?
-
Image resource of type uint8List.
final
- uint32List → Uint32List?
-
Image resource of type uint32List.
final
- width → double?
-
Set the width of the displayed image.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited