PolarLayout class

用于实现极坐标系 支持 柱状图 折线图 散点图

Inheritance

Constructors

PolarLayout(Polar props)

Properties

children → List
no setterinherited
gesture → ArcGesture
final
hashCode → int
The hash code for this object.
no setterinherited
props → Polar
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
dataToPoint(covariant dynamic angleData, covariant dynamic radiusData) → Offset
将给定的数据转换为对应的坐标点
override
detach() → void
inherited
dispatchDraw(Canvas canvas) → void
inherited
drawChild(dynamic child, Canvas canvas) → bool
负责绘制单独的一个ChildView,同时负责Canvas的坐标的正确转换 如果在方法中调用了invalidate则返回true
inherited
drawClickNode(Canvas canvas) → void
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
onAttach() → void
onDraw(Canvas canvas) → void
onDrawEnd(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