ImagesPage<T extends Object>.streamed constructor

ImagesPage<T extends Object>.streamed({
  1. List<Stream<ImageData<T>?>>? imageStreams = const [],
  2. int columnCount = 4,
  3. Key? key,
  4. Future<String?> onNewImages(
    1. List<XFile>
    ) = _defaultAdd,
  5. dynamic onDelete(
    1. T
    ) = _default,
  6. dynamic onStar(
    1. T
    ) = _default,
  7. dynamic onShare(
    1. T
    ) = _default,
  8. bool hasMainImage = false,
  9. bool intendsToAddPicture = false,
})

Konstruktor für Stream-basierte Bildlisten

Implementation

ImagesPage.streamed({
  List<Stream<ImageData<T>?>>? imageStreams = const [],
  this.columnCount = 4,
  Key? key,
  this.onNewImages = _defaultAdd,
  this.onDelete = _default,
  this.onStar = _default,
  this.onShare = _default,
  this.hasMainImage = false,
  this.intendsToAddPicture = false,
}) : super(key: key) {
  this._images = imageStreams ?? [];
}