ViewerImageCollectionItem class abstract

Inheritance

Constructors

ViewerImageCollectionItem({required ViewerImageCollectionItemStyle style, required String url, String? title, String? description, double? width, double? height})
const
factory

Properties

copyWith → $ViewerImageCollectionItemCopyWith<ViewerImageCollectionItem>
no setter
description String?
Description of the link
no setter
hashCode int
The hash code for this object.
no setterinherited
height double?
Height of the image
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchableElements List<SearchableElement>
Get all searchable elements
no setterinherited
style ViewerImageCollectionItemStyle
no setter
title String?
Title of the link
no setter
url String
URL of the image
no setter
width double?
Width of the image
no setter

Methods

map<TResult extends Object?>({required TResult text(ViewerTextCollectionItem value), required TResult image(ViewerImageCollectionItem value), required TResult widget(ViewerWidgetCollectionItem value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult text(ViewerTextCollectionItem value)?, TResult image(ViewerImageCollectionItem value)?, TResult widget(ViewerWidgetCollectionItem value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult text(ViewerTextCollectionItem value)?, TResult image(ViewerImageCollectionItem value)?, TResult widget(ViewerWidgetCollectionItem value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult text(String? title, String? description)?, TResult image(ViewerImageCollectionItemStyle style, String url, String? title, String? description, double? width, double? height)?, TResult widget(Widget widget)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult text(String? title, String? description), required TResult image(ViewerImageCollectionItemStyle style, String url, String? title, String? description, double? width, double? height), required TResult widget(Widget widget)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult text(String? title, String? description)?, TResult image(ViewerImageCollectionItemStyle style, String url, String? title, String? description, double? width, double? height)?, TResult widget(Widget widget)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited