DefaultTextStyleTransition constructor

const DefaultTextStyleTransition({Key key, @required Animation<TextStyle> style, @required Widget child, TextAlign textAlign, bool softWrap: true, TextOverflow overflow: TextOverflow.clip, int maxLines })

Creates an animated DefaultTextStyle whose TextStyle animation updates the widget.

Implementation

const DefaultTextStyleTransition({
  Key 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(key: key, listenable: style);