ImageViewTemplate class

Inheritance
Annotations

Constructors

ImageViewTemplate({required BuildContext context, required double widthNeeded, required double heightNeeded, VoidCallback? onPressed, AssetImage? assetAspectRatio, AssetImage? assetBackground, String? urlAspectRation, String? urlBackground, double? radiusAll, double? radiusTopLeft, double? radiusTopRight, double? radiusBottomLeft, double? radiusBottomRight, Color? colorBackground, EdgeInsets? padding, EdgeInsets? margin, double? opacity, Alignment? gravityLayoutAlignment, bool? responsiveAuto, BoxFit? boxFitBackground})

Properties

assetAspectRatio AssetImage?
getter/setter pair
assetBackground AssetImage?
getter/setter pair
boarderRadius BorderRadius
getter/setter pair
boxFitBackground BoxFit?
getter/setter pair
colorBackground Color?
getter/setter pair
context BuildContext
getter/setter pair
gravityLayoutAlignment Alignment?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
imageProviderChoosed ImageProvider<Object>
getter/setter pair
isAssestFound bool
getter/setter pair
isBothUrlAndAssetFound bool
getter/setter pair
isModeAspectRatio bool
getter/setter pair
isModeBackground bool
getter/setter pair
isModeBoth bool
getter/setter pair
isUrlFound bool
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsets?
getter/setter pair
onPressed VoidCallback?
getter/setter pair
opacity double?
getter/setter pair
padding EdgeInsets?
getter/setter pair
radiusAll double?
getter/setter pair
radiusBottomLeft double?
getter/setter pair
radiusBottomRight double?
getter/setter pair
radiusTopLeft double?
getter/setter pair
radiusTopRight double?
getter/setter pair
responsiveAuto bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
getter/setter pair
urlAspectRation String?
getter/setter pair
urlBackground String?
getter/setter pair
width double
getter/setter pair

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
chooseAssetName() String
chooseFitBox() BoxFit
chooseUrl() String
clickOnThisArea(Widget cont) Widget
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
EmptyViewSizeImage() Widget
getBoxFitBackground() BoxFit
getContent() Widget
getUrlVailed() String?
getViewMode_aspectRatio() Widget
getViewModeBackground() Widget
initIsBoth() → void
initValues() → void
isVisibleWidget(BuildContext context) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setImageAspectRationUrl(String updateUrl) → void
setImageBackgroundUrl(String updateUrl) → void
setOpacity(Widget view) Widget
setSurroundWidget(Widget view) Widget
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

isValid(String? str) bool