SettingsButtonConfig class

Inheritance

Constructors

SettingsButtonConfig({dynamic title, dynamic unit = '', Function functionToCall, bool tick = false})
Config for a button setting widget

Properties

functionToCall Function
Function to be called if the button is clicked
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tick bool
If tick is true, a '>' will be displayed next to the button title
final
title String
The title which shall be displayed for the widget (e.g. on the left side)
final, inherited
type SettingDataType
The type of the setting widget
final, inherited
unit String
The unit which shall be displayed for the setting widget. E.g. gramm for slider values: 0g...100g vs. 0...100
final, inherited

Methods

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

Operators

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