CustomView class Null safety

自定义布局实体

Constructors

CustomView(int? top, int? right, int? bottom, int? left, int? width, int? height, String? imgPath, ScaleType? imgScaleType)
CustomView.fromJson(Map<String, dynamic> srcJson)
factory

Properties

bottom int?
final
hashCode int
The hash code for this object.
read-onlyinherited
height int?
final
imgPath String?
final
imgScaleType ScaleType?
final
left int?
final
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top int?
final
width int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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