DefaultTextStyleTransition constructor Null safety
Creates an animated DefaultTextStyle whose TextStyle animation updates the widget.
Implementation
const DefaultTextStyleTransition({
super.key,
required Animation<TextStyle> style,
required this.child,
this.textAlign,
this.softWrap = true,
this.overflow = TextOverflow.clip,
this.maxLines,
}) : assert(style != null),
assert(child != null),
super(listenable: style);