RenderBaseline constructor

RenderBaseline({
  1. RenderBox? child,
  2. required double baseline,
  3. required TextBaseline baselineType,
})

Creates a RenderBaseline object.

Implementation

RenderBaseline({
  RenderBox? child,
  required double baseline,
  required TextBaseline baselineType,
}) : _baseline = baseline,
     _baselineType = baselineType,
     super(child);