Baseline constructor

const Baseline({
  1. Key? key,
  2. required double baseline,
  3. required TextBaseline baselineType,
  4. Widget? child,
})

Creates a widget that positions its child according to the child's baseline.

Implementation

const Baseline({
  super.key,
  required this.baseline,
  required this.baselineType,
  super.child,
});