Item class

An item in the list or carusel

Constructors

Item({@required SelectItemInfo info, @required String title, String description, Image image})

Properties

description String
The main text describing the item.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
image Image
The image to display.
final
info SelectItemInfo
Additional information about this option.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
The title of the list item.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) Item