RenderPreferredSize constructor

RenderPreferredSize({
  1. required Size preferredSize,
  2. RenderBox? child,
})

Implementation

RenderPreferredSize({
  required Size preferredSize,
  RenderBox? child,
})  : _preferredSize = preferredSize,
      super(child);