CalendarLayout class
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 DateTime date, covariant bool b)
→ Rect
-
将给定的数据转换为对应的坐标点
override
-
detach()
→ void
-
inherited
-
dispatchDraw(Canvas canvas)
→ void
-
inherited
-
drawChild(dynamic child, Canvas canvas)
→ bool
-
负责绘制单独的一个ChildView,同时负责Canvas的坐标的正确转换
如果在方法中调用了
invalidate则返回true
inherited
-
findMaxDate(int year, int month)
→ DateTime?
-
-
findMinDate(int year, int month)
→ DateTime?
-
-
findMonthPolygon(int year, int month)
→ List<Offset>
-
给定在制定月份的边缘
相关数据必须在给定的范围以内
-
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
-
onLayout(double left, double top, double right, double bottom)
→ void
-
override
-
onMeasure(double parentWidth, double parentHeight)
→ Size
-
inherited
-
parentInvalidate()
→ void
-
inherited
-
removeView(dynamic view)
→ void
-
inherited
-
requestLayout()
→ void
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited