toFlutter method

  1. @override
TextHeightBehavior toFlutter(
  1. AnyWidgetContext config
)
override

Implementation

@override
TextHeightBehavior toFlutter(AnyWidgetContext config) {
  return TextHeightBehavior(
    applyHeightToFirstAscent: applyHeightToFirstAscent ?? true,
    applyHeightToLastDescent: applyHeightToLastDescent ?? true,
    leadingDistribution: leadingDistribution?.toFlutter(config) ??
        TextLeadingDistribution.proportional,
  );
}