discontinuedPackage androssy_widgets has been discontinued.

attach method

  1. @override
MaterialImageViewController<T> attach(
  1. YMRView<ViewController> view, {
  2. double? frameRatio,
  3. MIVFrameRatioBuilder? frameBuilder,
  4. Color? itemBackground,
  5. double? itemSpace,
  6. ImageType? itemType,
  7. List<T>? items,
  8. dynamic placeholder,
  9. ImageType? placeholderType,
})
override

Implementation

@override
MaterialImageViewController<T> attach(
  YMRView<ViewController> view, {
  double? frameRatio,
  MIVFrameRatioBuilder? frameBuilder,
  Color? itemBackground,
  double? itemSpace,
  ImageType? itemType,
  List<T>? items,
  dynamic placeholder,
  ImageType? placeholderType,
}) {
  super.attach(view);
  this.frameRatio = frameRatio ?? this.frameRatio;
  this.frameRatioBuilder = frameBuilder ?? this.frameRatioBuilder;
  this.itemBackground = itemBackground ?? this.itemBackground;
  this.spaceBetween = itemSpace ?? this.spaceBetween;
  this.imageType = itemType ?? this.imageType;
  this.items = items ?? this.items;
  this.placeholder = placeholder ?? this.placeholder;
  this.placeholderType = placeholderType ?? this.placeholderType;
  return this;
}