AntdAvatar class

@t 头像 @g 信息展示 @o 92 @d 用来代表用户或事物。 @u 需要更加直观的展现人物或事物特征。

Inheritance

Constructors

AntdAvatar.new({Key? key, AntdImageStyle? style, AntdStyleBuilder<AntdImageStyle, AntdImage>? styleBuilder, required ImageProvider<Object> image, BoxFit? fit, double scale = 1.0, AlignmentGeometry alignment = Alignment.center, ImageRepeat repeat = ImageRepeat.noRepeat, FilterQuality filterQuality = FilterQuality.medium, double? size = 45.0, double? radius})
const

Properties

alignment AlignmentGeometry
对齐方式
finalinherited
filterQuality FilterQuality
过滤质量
finalinherited
fit BoxFit?
图片填充模式
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
高度
finalinherited
image ImageProvider<Object>
图片
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
radius double?
圆角
final
repeat ImageRepeat
重复方式
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
缩放
finalinherited
size double?
大小
final
style AntdImageStyle?
样式
finalinherited
styleBuilder AntdStyleBuilder<AntdImageStyle, AntdImage>?
动态样式
finalinherited
width double?
宽度
finalinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
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
getDefaultStyle(BuildContext context, AntdTheme theme, AntdMapToken token) AntdImageStyle
override
getFinalStyle(BuildContext context, AntdImageStyle style, AntdMapToken token) AntdImageStyle
inherited
getInputStyle(BuildContext context) AntdImageStyle?
inherited
getSize(AntdImageStyle? style) Size
inherited
getStyle(BuildContext context) AntdImageStyle
inherited
getStyleBuilder(BuildContext context) AntdStyleBuilder<AntdImageStyle, AntdImage>?
inherited
getThemeStyle(BuildContext context, AntdTheme theme) AntdStyleBuilder<AntdImageStyle, AntdImage>?
inherited
getWidget(BuildContext context) AntdImage
inherited
margeStyle(AntdImageStyle defaultStyle, AntdImageStyle? style) AntdImageStyle
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(BuildContext context, AntdImageStyle style) Widget
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, int wrapWidth = 65}) 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