DefaultTextStyleTransitionModifier constructor

const DefaultTextStyleTransitionModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required Animation<TextStyle> style,
  5. TextAlign? textAlign,
  6. bool softWrap = true,
  7. TextOverflow overflow = TextOverflow.clip,
  8. int? maxLines,
})

Creates an animated DefaultTextStyle whose TextStyle animation updates the widget.

Implementation

const DefaultTextStyleTransitionModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.style,
  this.textAlign,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.maxLines,
});