getChildOffset method
Returns the child offset for the given position.
Implementation
@protected
Offset getChildOffset(Offset position, ScatterContext context) {
return position - context.alignment.alongSize(context.childSize);
}
Returns the child offset for the given position.
@protected
Offset getChildOffset(Offset position, ScatterContext context) {
return position - context.alignment.alongSize(context.childSize);
}