CImage class

Inheritance
Available extensions

Constructors

CImage({Key? key, double? width, double? height, BoxFit? fit, String? hero, required String image, Border? border, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, dynamic onTap()?, int? flex, bool? expanded, Decoration? decoration, bool? visible, double? borderRadius, Style? style, Color? backgroundColor, Alignment? alignment, String? tag})

Properties

alignment Alignment?
finalinherited
backgroundColor Color?
finalinherited
border Border?
finalinherited
borderRadius double?
finalinherited
children List<Widget>?
finalinherited
commonController CController
finalinherited
contentHeight → dynamic
no setterinherited
crossAxisAlignment CrossAxisAlignment?
finalinherited
decoration Decoration?
finalinherited
expanded bool?
finalinherited
fit BoxFit?
final
flex int?
finalinherited
gap double?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
finalinherited
hero String?
final
icon Widget?
finalinherited
iconMargin double?
finalinherited
image String
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineColor Color?
finalinherited
lineWidth double?
finalinherited
mainAxisAlignment MainAxisAlignment?
finalinherited
mainAxisSize MainAxisSize?
finalinherited
margin EdgeInsetsGeometry?
finalinherited
onTap → dynamic Function()?
finalinherited
padding EdgeInsetsGeometry?
finalinherited
rearIcon Widget?
finalinherited
rearIconMargin double?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis?
finalinherited
style Style?
finalinherited
tag String?
finalinherited
visible bool?
finalinherited
width double?
finalinherited

Methods

alert({dynamic title, dynamic onPressed, dynamic onCanceled, dynamic text, dynamic confirmText, dynamic cancelText}) → dynamic
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
confirm({dynamic title, dynamic onPressed, dynamic onCanceled, dynamic text, dynamic confirmText, dynamic cancelText}) → dynamic
inherited
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
getBackgroundColor() Color?
inherited
init(BuildContext context) Widget
override
initChildren(Widget widget, List<Widget> children, MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, MainAxisSize? mainAxisSize, Alignment? alignment, BuildContext context) Widget
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
unfocus() → dynamic
inherited

Operators

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