toFlutter method

  1. @override
BoxHeightStyle toFlutter(
  1. AnyWidgetContext context
)
override

Implementation

@override
BoxHeightStyle toFlutter(AnyWidgetContext context) {
  return map(
    includeLineSpacingBottom: (_) => BoxHeightStyle.includeLineSpacingBottom,
    includeLineSpacingMiddle: (_) => BoxHeightStyle.includeLineSpacingMiddle,
    includeLineSpacingTop: (_) => BoxHeightStyle.includeLineSpacingTop,
    max: (_) => BoxHeightStyle.max,
    strut: (_) => BoxHeightStyle.strut,
    tight: (_) => BoxHeightStyle.tight,
  );
}