layout method

  1. @override
void layout(
  1. DURect rect
)
override

Called during layout to assign the element's position and size.

Implementation

@override
void layout(final DURect rect) {
  _rect = rect;
}