MImage class
- Inheritance
Constructors
-
MImage(String? source, {Key? key, Color? color, BoxFit? fit, double? height, PlaceholderWidgetBuilder? placeholder, ProgressIndicatorBuilder? progressIndicatorBuilder, bool showIndicator = true, double? width, double? size, BorderRadiusGeometry? borderRadius, double? raduis, MImageClipMode clipMode = MImageClipMode.rectangle, double? scale, String? package, AssetBundle? bundle, MErrorWidget? errorWidget, Map<
String, String> ? httpHeaders, ImageWidgetBuilder? imageBuilder, Duration? fadeOutDuration = const Duration(milliseconds: 1000), Curve fadeOutCurve = Curves.easeOut, Duration fadeInDuration = const Duration(milliseconds: 500), Curve fadeInCurve = Curves.easeIn, Alignment alignment = Alignment.center, ImageRepeat repeat = ImageRepeat.noRepeat, bool matchTextDirection = false, BaseCacheManager? cacheManager, bool useOldImageOnUrlChange = false, FilterQuality filterQuality = FilterQuality.low, BlendMode? colorBlendMode, Duration? placeholderFadeInDuration, int? memCacheWidth, int? memCacheHeight, String? cacheKey, int? maxWidthDiskCache, int? maxHeightDiskCache, MErrorListener? errorListener, VoidCallback? onTap, MImageRenderMethodForWeb imageRenderMethodForWeb = MImageRenderMethodForWeb.HtmlImage}) -
const
Properties
- alignment → Alignment
-
final
- borderRadius → BorderRadiusGeometry?
-
final
- bundle → AssetBundle?
-
final
- cacheKey → String?
-
final
- cacheManager → BaseCacheManager?
-
final
- clipMode → MImageClipMode
-
final
- color → Color?
-
final
- colorBlendMode → BlendMode?
-
final
- errorListener → MErrorListener?
-
final
- errorWidget → MErrorWidget?
-
final
- fadeInCurve → Curve
-
final
- fadeInDuration → Duration
-
final
- fadeOutCurve → Curve
-
final
- fadeOutDuration → Duration?
-
final
- filterQuality → FilterQuality
-
final
- fit → BoxFit?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
-
httpHeaders
→ Map<
String, String> ? -
final
-
image
→ ImageProvider<
Object> -
no setter
- imageBuilder → ImageWidgetBuilder?
-
final
- imageRenderMethodForWeb → MImageRenderMethodForWeb
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- matchTextDirection → bool
-
final
- maxHeightDiskCache → int?
-
final
- maxWidthDiskCache → int?
-
final
- memCacheHeight → int?
-
final
- memCacheWidth → int?
-
final
- onTap → VoidCallback?
-
final
- package → String?
-
final
- placeholder → PlaceholderWidgetBuilder?
-
final
- placeholderFadeInDuration → Duration?
-
final
- progressIndicatorBuilder → ProgressIndicatorBuilder?
-
final
- raduis → double?
-
final
- repeat → ImageRepeat
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double?
-
final
- showIndicator → bool
-
final
- source → String?
-
final
- useOldImageOnUrlChange → bool
-
final
- width → double?
-
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
Static Methods
-
provider(
String? source, {String? placeholder, ImageProvider< Object> ? placeholderImage, int? maxWidth, int? maxHeight, Map<String, String> ? httpHeaders, MErrorListener? errorListener, String? package, AssetBundle? bundle, double? scale, BaseCacheManager? cacheManager, String? cacheKey, MImageRenderMethodForWeb imageRenderMethodForWeb = MImageRenderMethodForWeb.HtmlImage}) → ImageProvider<Object>