PlaceholderDimensions constructor
- required Size size,
- required PlaceholderAlignment alignment,
- TextBaseline? baseline,
- double? baselineOffset,
Constructs a PlaceholderDimensions with the specified parameters.
The size
and alignment
are required as a placeholder's dimensions
require at least size
and alignment
to be fully defined.
Implementation
const PlaceholderDimensions({
required this.size,
required this.alignment,
this.baseline,
this.baselineOffset,
});