SettingsDropDownConfig class

Inheritance

Constructors

SettingsDropDownConfig({dynamic title, dynamic unit = '', required Map<String, String> choices, List redList = const [], required String initialKey, required Function onDropdownFinished})
Config for a drop down settings widget

Properties

choices Map<String, String>
Contains the choices which shall be selectable for the user. This is a key, value map. The keys shall be unique identifiers for the values which are displayed by the widget
final
hashCode int
The hash code for this object.
no setterinherited
initialKey String
The initial choices key which shall be selected
final
onDropdownFinished Function
The callback which shall be called when the user finally selected an entry
final
redList List
Values which shall be not selectable by the user
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The title which shall be displayed for the widget (e.g. on the left side)
finalinherited
type SettingDataType
The type of the setting widget
finalinherited
unit String
The unit which shall be displayed for the setting widget. E.g. gramm for slider values: 0g...100g vs. 0...100
finalinherited

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