RoteFlowButtonMenuDelegate class
流式布局 Flow 计算
- Inheritance
-
- Object
- FlowDelegate
- RoteFlowButtonMenuDelegate
Constructors
- RoteFlowButtonMenuDelegate.new({double radiusRate = 0})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- radiusRate ↔ double
-
半径变化的比率
一般从0到1 菜单展开
从1-0菜单关闭
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculWrapSpacingChild2(
FlowPaintingContext context) → void - 流式布局 Flow 计算 菜单向上弹出
-
getConstraintsForChild(
int i, BoxConstraints constraints) → BoxConstraints -
Override to control the layout constraints given to each child.
override
-
getSize(
BoxConstraints constraints) → Size -
Override to control the size of the container for the children.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paintChildren(
FlowPaintingContext context) → void -
Override to paint the children of the flow.
override
-
shouldRelayout(
covariant FlowDelegate oldDelegate) → bool -
Override this method to return true when the children need to be laid out.
This should compare the fields of the current delegate and the given
oldDelegate and return true if the fields are such that the layout would
be different.
override
-
shouldRepaint(
covariant FlowDelegate oldDelegate) → bool -
Override this method to return true when the children need to be
repainted. This should compare the fields of the current delegate and the
given oldDelegate and return true if the fields are such that
paintChildren would act differently.
override
-
toString(
) → String -
Override this method to include additional information in the
debugging data printed by debugDumpRenderTree and friends.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited