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? radius_all, double? radius_topLeft, double? radius_topRight, double? radius_bottomLeft, double? radius_bottomRight, Color? colorBackground, EdgeInsets? padding, EdgeInsets? margin, double? opacity, Alignment? gravityLayout_alignment, bool? responsive_auto, BoxFit? boxFit_background})

Properties

assetAspectRatio AssetImage?
getter/setter pair
assetBackground AssetImage?
getter/setter pair
boarderRadius BorderRadius
getter/setter pair
boxFit_background BoxFit?
getter/setter pair
colorBackground Color?
getter/setter pair
context BuildContext
getter/setter pair
gravityLayout_alignment 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
radius_all double?
getter/setter pair
radius_bottomLeft double?
getter/setter pair
radius_bottomRight double?
getter/setter pair
radius_topLeft double?
getter/setter pair
radius_topRight double?
getter/setter pair
responsive_auto 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
getBoxFit_background() BoxFit
getContent() Widget
getUrlVailed() String?
getViewMode_aspectRatio() Widget
getViewMode_background() 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