ImagesPage<T extends Object>.futured constructor
- List<
Future< ? futureImages = const [],ImageData< >T> ?> - int columnCount = 4,
- Key? key,
- Future<
String?> onNewImages() = _defaultAdd, - FutureOr<
void> onDelete(- T
- FutureOr<
void> onStar(- T
- FutureOr<
void> onRotate(- T,
- int deltaQuarterTurns
- Future<
void> onDeleteMany(- List<
T>
- List<
- bool hasMainImage = false,
- bool intendsToAddPicture = false,
Konstruktor für Future-basierte Bildlisten
Implementation
ImagesPage.futured({
List<Future<ImageData<T>?>>? futureImages = const [],
this.columnCount = 4,
Key? key,
this.onNewImages = _defaultAdd,
this.onDelete = _default,
this.onStar = _default,
this.onShare = _default,
this.onRotate = _defaultRotate,
this.onDeleteMany,
this.onShareMany,
this.hasMainImage = false,
this.intendsToAddPicture = false,
}) : super(key: key) {
this._images =
futureImages?.map((e) => Stream.fromFuture(e)).toList() ?? [];
}