prepareChild method

  1. @override
void prepareChild(
  1. ChildHandleType child
)
override

Override to prepare children before layout, setting defaults for example.

Implementation

@override
void prepareChild(ChildHandleType child) {
  super.prepareChild(child);
  final parentData = child.render.parentData! as BoxyParentData;
  parentData.drySize = null;
  parentData.dryTransform = null;
}