AntdImageStyle class

图片样式 @l AntdImage,AntdAvatar

Inheritance
Available extensions

Constructors

AntdImageStyle.new({bool inherit = true, AntdBoxStyle? bodyStyle, ImageFrameBuilder? frameBuilder, ImageErrorWidgetBuilder? errorBuild, ImageLoadingBuilder? loadBuild})
const

Properties

bodyStyle AntdBoxStyle?
外层的样式
final
errorBuild ImageErrorWidgetBuilder?
加载失败时触发
final
frameBuilder ImageFrameBuilder?
每一帧占位
final
hashCode int
The hash code for this object.
no setterinherited
inherit bool
是否继承样式,如果为false则不会向上合并其他的样式
finalinherited
loadBuild ImageLoadingBuilder?
图片加载完时触发
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyFrom(covariant AntdImageStyle? style) AntdImageStyle
override
copyWith({bool? inherit, AntdBoxStyle? bodyStyle, ImageFrameBuilder? frameBuilder, ImageErrorWidgetBuilder? errorBuild, ImageLoadingBuilder? loadBuild}) AntdImageStyle
merge(T? other) → T?

Available on T?, provided by the StyleExtensions extension

mergeActive(T? defaultStyle, T? tdStyle, T? tdaStyle) → T?

Available on T?, provided by the StyleExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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