RadarLayout class

雷达图坐标系

Inheritance

Constructors

RadarLayout(Radar props)

Properties

children List
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
props Radar
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addView(dynamic view, {int index = -1}) → void
========================管理子View相关方法=======================
inherited
attach(Context context, ViewParent parent) → void
inherited
changeChildToFront(dynamic child) → void
inherited
clearChildFocus(dynamic child) → void
inherited
clearChildren() → void
inherited
collectChildData(int dim) List<DynamicData>
dataToPoint(covariant int axisIndex, covariant num data) Offset?
给定一个数据返回其对应数据在坐标系中的位置(视图位置为中心点)
override
detach() → void
inherited
dispatchDraw(Canvas canvas) → void
inherited
drawChild(dynamic child, Canvas canvas) bool
负责绘制单独的一个ChildView,同时负责Canvas的坐标的正确转换 如果在方法中调用了invalidate则返回true
inherited
getChildAt(int index) → dynamic
inherited
getGlobalAreaBounds() Rect
inherited
hasChildView(dynamic view) bool
inherited
measure(double parentWidth, double parentHeight) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDraw(Canvas canvas) → void
onLayout(double left, double top, double right, double bottom) → void
override
onMeasure(double parentWidth, double parentHeight) Size
override
parentInvalidate() → void
inherited
removeView(dynamic view) → void
inherited
requestLayout() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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