UnifiedImageItemWidget class
自渲染多图中的单张图片(对应 Android NativeUnifiedChild.Image)。
- Inheritance
-
- Object
- LayoutWidget
- UnifiedImageItemWidget
Constructors
- UnifiedImageItemWidget({String url = '', required double width, required double height, required double x, required double y, String backgroundColor = '#FFFFFF', AMPSAdItemClickType clickType = AMPSAdItemClickType.none, AMPSAdItemClickIdType clickIdType = AMPSAdItemClickIdType.click})
Properties
- backgroundColor → String
-
final
- clickIdType ↔ AMPSAdItemClickIdType
-
getter/setter pair
- clickType ↔ AMPSAdItemClickType
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
图片地址;留空时由原生侧按广告数据
imagesUrl顺序兜底。final - width → double
-
final
- x → double
-
final
- y → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited