CellAnimatedDefaultTextStyle constructor

const CellAnimatedDefaultTextStyle({
  1. Key? key,
  2. required ValueCell<Widget> child,
  3. required ValueCell<TextStyle> style,
  4. ValueCell<TextAlign?>? textAlign,
  5. ValueCell<bool> softWrap = const ValueCell.value(true),
  6. ValueCell<TextOverflow> overflow = const ValueCell.value(TextOverflow.clip),
  7. ValueCell<int?>? maxLines,
  8. ValueCell<TextWidthBasis> textWidthBasis = const ValueCell.value(TextWidthBasis.parent),
  9. ValueCell<TextHeightBehavior?>? textHeightBehavior,
  10. ValueCell<Curve> curve = const ValueCell.value(Curves.linear),
  11. required ValueCell<Duration> duration,
  12. ValueCell<void Function()?>? onEnd,
})

Implementation

const CellAnimatedDefaultTextStyle({
  super.key,
  required this.child,
  required this.style,
  this.textAlign,
  this.softWrap = const ValueCell.value(true),
  this.overflow = const ValueCell.value(TextOverflow.clip),
  this.maxLines,
  this.textWidthBasis = const ValueCell.value(TextWidthBasis.parent),
  this.textHeightBehavior,
  this.curve = const ValueCell.value(Curves.linear),
  required this.duration,
  this.onEnd,
});