Baseline constructor Null safety
- {Key? key,
- required double baseline,
- required TextBaseline baselineType,
- Widget? child}
Creates a widget that positions its child according to the child's baseline.
The baseline and baselineType arguments must not be null.
Implementation
const Baseline({
super.key,
required this.baseline,
required this.baselineType,
super.child,
}) : assert(baseline != null),
assert(baselineType != null);