setupParentData method

  1. @override
void setupParentData(
  1. covariant RenderObject child
)
override

Alerts the developer that the child's parentData needs to be of type KeepAliveParentDataMixin.

Implementation

@override
void setupParentData(RenderObject child) {
  assert(child.parentData is KeepAliveParentDataMixin);
}