SettingsButtonConfig class

Inheritance

Constructors

SettingsButtonConfig({dynamic title, dynamic unit = '', required 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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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)
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