WidgetModifierConfig.defaultTextStyle constructor

WidgetModifierConfig.defaultTextStyle({
  1. TextStyleMix? style,
  2. TextAlign? textAlign,
  3. bool? softWrap,
  4. TextOverflow? overflow,
  5. int? maxLines,
  6. TextWidthBasis? textWidthBasis,
  7. TextHeightBehaviorMix? textHeightBehavior,
})

Implementation

factory WidgetModifierConfig.defaultTextStyle({
  TextStyleMix? style,
  TextAlign? textAlign,
  bool? softWrap,
  TextOverflow? overflow,
  int? maxLines,
  TextWidthBasis? textWidthBasis,
  TextHeightBehaviorMix? textHeightBehavior,
}) {
  return WidgetModifierConfig.modifier(
    DefaultTextStyleModifierMix(
      style: style,
      textAlign: textAlign,
      softWrap: softWrap,
      overflow: overflow,
      maxLines: maxLines,
      textWidthBasis: textWidthBasis,
      textHeightBehavior: textHeightBehavior,
    ),
  );
}