WidgetModifierConfig.defaultTextStyle constructor
WidgetModifierConfig.defaultTextStyle({
- TextStyleMix? style,
- TextAlign? textAlign,
- bool? softWrap,
- TextOverflow? overflow,
- int? maxLines,
- TextWidthBasis? textWidthBasis,
- 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,
),
);
}