SettingItem class

An item that's linked to a button, or a switch. This makes up the content of a SettingSection

Constructors

SettingItem.futureBuilder({required FutureBuilder? futureBuilder, SettingItemType itemType = SettingItemType.futureBuilder})
SettingItem.standardButton({required StandardButtonElement? standardButton, SettingItemType itemType = SettingItemType.standardButton})
SettingItem.standardIconButton({required StandardIconButtonElement? standardIconButton, SettingItemType itemType = SettingItemType.standardIconButton})
SettingItem.standardSwitchCard({required StandardSwitchCardElement? standardSwitchCard, SettingItemType itemType = SettingItemType.standardSwitchCard})

Properties

futureBuilder FutureBuilder?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemType SettingItemType
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
standardButton StandardButtonElement?
A standard button to act on.
getter/setter pair
standardIconButton StandardIconButtonElement?
A standard icon button to act on.
getter/setter pair
standardSwitchCard StandardSwitchCardElement?
The switch card to enable / disable an option.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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