copyWith property

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

Implementation

@override
FlyImage Function(FlyStyle newStyle) get copyWith => (newStyle) {
  return FlyImage(
    key: key,
    imageUrl: imageUrl,
    assetPath: assetPath,
    imageProvider: imageProvider,
    fit: fit,
    onLoadingStateChange: onLoadingStateChange,
    loadingWidget: loadingWidget,
    errorWidget: errorWidget,
    width: width,
    height: height,
    alignment: alignment,
    flyStyle: newStyle,
  );
};