ReadyImageConfig class

Inheritance

Constructors

ReadyImageConfig({Key? key, Uri resolveUrl(BuildContext context, String path)?, ImageRenderMethodForWeb imageRenderMethodForWeb(BuildContext context)?, LoadingErrorWidgetBuilder? errorPlaceholder, ProgressIndicatorBuilder? loadingPlaceholder, Decoration foregroundDecoration(BuildContext context)?, Color color(BuildContext context)?, Decoration decoration(BuildContext context)?, Decoration outerDecoration(BuildContext context)?, EdgeInsetsGeometry outerPadding(BuildContext context)?, EdgeInsetsGeometry innerPadding(BuildContext context)?, BoxFit fit(BuildContext context)?, HeadersCallBack? headers, BaseCacheManager cacheManager(BuildContext context)?, bool disableHero(BuildContext context)?, bool forceForegroundRadiusSameAsBackground(BuildContext context)?, required Widget child})
const

Properties

cacheManager → (BaseCacheManager Function(BuildContext context)?)
ReadyImage.cacheManager
final
child Widget
The widget below this widget in the tree.
finalinherited
color → (Color Function(BuildContext context)?)
ReadyImage.color
final
decoration → (Decoration Function(BuildContext context)?)
ReadyImage.decoration
final
disableHero → (bool Function(BuildContext context)?)
HeroReadyImage.disableHero
final
errorPlaceholder LoadingErrorWidgetBuilder?
manage the error widget
final
fit → (BoxFit Function(BuildContext context)?)
ReadyImage.fit
final
forceForegroundRadiusSameAsBackground → (bool Function(BuildContext context)?)
ReadyImage.forceForegroundRadiusSameAsBackground
final
foregroundDecoration → (Decoration Function(BuildContext context)?)
ReadyImage.foregroundDecoration
final
hashCode int
The hash code for this object.
no setterinherited
headers HeadersCallBack?
ReadyImage.headers
final
imageRenderMethodForWeb → (ImageRenderMethodForWeb Function(BuildContext context)?)
manage how web platform load images
final
innerPadding → (EdgeInsetsGeometry Function(BuildContext context)?)
ReadyImage.innerPadding
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadingPlaceholder ProgressIndicatorBuilder?
manage the loading widget
final
outerDecoration → (Decoration Function(BuildContext context)?)
ReadyImage.outerDecoration
final
outerPadding → (EdgeInsetsGeometry Function(BuildContext context)?)
ReadyImage.outerPadding
final
resolveUrl → (Uri Function(BuildContext context, String path)?)
manage how the url can be parsed
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() InheritedElement
Inflates this configuration to a concrete instance.
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
updateShouldNotify(covariant ReadyImageConfig oldWidget) bool
Whether the framework should notify widgets that inherit from this widget.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) ReadyImageConfig?