Divider class

Fixed-size divider for use in Flex layouts.

Inheritance
Mixed-in types
Implementers

Constructors

Divider({required Axis axis, int padding = 0, required Axel proximalCap, required Axel distalCap, required Axel fill})
Fixed-size divider for use in Flex layouts.
const

Properties

axis Axis
Main axis of this item's parent.
final
distalCap Axel
End of the divider at the bottom for vertical, right for horizontal.
final
fill Axel
Fill for the body of the divider.
final
hashCode int
The hash code for this object.
no setterinherited
padding int
Space padding around the divider.
final
proximalCap Axel
End of the divider at the top for vertical, left for horizontal.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size to force.
no setteroverride

Methods

getSize(WriggleContext context, Axis axis, int crossSize) int?
Report this item's intrinsic size, or null if it has none.
override
getUsageInfo(WriggleContext context) UsageInfo
Return usage info for this renderable, or redirect to its child.
override
keyPressed(WriggleContext context, KeyInput key) bool
Handle key presses. Return true if the key was absorbed, or false if another listener further up the tree should handle it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(WriggleContext context, int width, int height) AxelMap
Produce an AxelMap of the specified size to be shown on screen.
override
toString() String
A string representation of this object.
inherited

Operators

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