FoldWrapDelegate class
Fold delegate @author jm
- Inheritance
-
- Object
- FlowDelegate
- FoldWrapDelegate
Constructors
Properties
- extentHeight → double
-
final
- foldLine → int
-
final
- foldWidgetInEnd → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFold → bool
-
final
- line → int
-
final
- lineMaxLength → int
-
final
- maxLine → int
-
final
-
onLine
→ ValueChanged<
int> ? -
final
- runSpacing → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
final
Methods
-
canAddToFoldWidget(
int i, double offsetX, double screenW, FlowPaintingContext context, int lastIndex) → bool -
getConstraintsForChild(
int i, BoxConstraints constraints) → BoxConstraints -
Override to control the layout constraints given to each child.
override
-
getFoldWidgetOffsetX(
double foldWidgetWidth, double offsetX, double screenWidth) → double -
getLineLimit(
int lineLength) → bool -
getSize(
BoxConstraints constraints) → Size -
Override to control the size of the container for the children.
override
-
needChangeToFoldWidget(
int i, double offsetX, double screenW, int nowLine, FlowPaintingContext context) → bool -
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 FoldWrapDelegate 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 FoldWrapDelegate 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
-
toMaxHeight(
double oldMaxHeight, dynamic newMaxHeight) → double -
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