TextHeightBehavior constructor Null safety
- {@Default(true) bool applyHeightToFirstAscent,
- @Default(true) bool applyHeightToLastDescent,
- @Default(TextLeadingDistribution.proportional) TextLeadingDistribution leadingDistribution}
Implementation
const factory TextHeightBehavior({
@Default(true) bool applyHeightToFirstAscent,
@Default(true) bool applyHeightToLastDescent,
@Default(TextLeadingDistribution.proportional)
TextLeadingDistribution leadingDistribution,
}) = _TextHeightBehavior;