mergeWithWellSpacedTextStyle static method

Widget mergeWithWellSpacedTextStyle({
  1. required Widget child,
  2. Key? key,
  3. TextStyle? style,
  4. TextAlign? textAlign,
  5. bool? softWrap,
  6. TextOverflow? overflow,
  7. int? maxLines,
  8. TextWidthBasis? textWidthBasis,
})

Implementation

static Widget mergeWithWellSpacedTextStyle({
  required Widget child,
  Key? key,
  TextStyle? style,
  TextAlign? textAlign,
  bool? softWrap,
  TextOverflow? overflow,
  int? maxLines,
  TextWidthBasis? textWidthBasis,
}) => DefaultTextStyle.merge(
  child: child,
  key: key,
  style: style ?? const TextStyle(height: _WELL_SPACED_TEXT_HEIGHT),
  textAlign: textAlign,
  softWrap: softWrap,
  overflow: overflow,
  maxLines: maxLines,
  textWidthBasis: textWidthBasis,
);