copyWith property

  1. @override
FlyText Function(FlyStyle newStyle) get copyWith
override

Implementation

@override
FlyText Function(FlyStyle newStyle) get copyWith =>
    (newStyle) => FlyText(
      data,
      key: key,
      style: style,
      textAlign: textAlign,
      textDirection: textDirection,
      locale: locale,
      softWrap: softWrap,
      overflow: overflow,
      textScaler: textScaler,
      maxLines: maxLines,
      semanticsLabel: semanticsLabel,
      textWidthBasis: textWidthBasis,
      textHeightBehavior: textHeightBehavior,
      flyStyle: newStyle,
    );