DefaultTextStyle constructor Null safety
- {Key? key,
- required TextStyle style,
- TextAlign? textAlign,
- bool softWrap,
- TextOverflow overflow,
- int? maxLines,
- TextWidthBasis textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- required Widget child}
Implementation
const factory DefaultTextStyle(
{final Key? key,
required final TextStyle style,
final TextAlign? textAlign,
final bool softWrap,
final TextOverflow overflow,
final int? maxLines,
final TextWidthBasis textWidthBasis,
final TextHeightBehavior? textHeightBehavior,
required final Widget child}) = _$DefaultTextStyle;