Thermostat constructor
const
Thermostat({
- required SetPointMode setPointMode,
- required double curVal,
- required double setPoint,
- required double minVal,
- required double maxVal,
- void onChanged(
- double newValue
- double size = 300,
- ThermostatThemeType themeType = ThermostatThemeType.light,
- String formatCurVal()?,
- String formatSetPoint()?,
- ThermostatTheme? theme,
- bool turnOn = false,
- Key? key,
Implementation
const Thermostat({
required this.setPointMode,
required this.curVal,
required this.setPoint,
required this.minVal,
required this.maxVal,
this.onChanged,
this.size = 300,
this.themeType = ThermostatThemeType.light,
this.formatCurVal,
this.formatSetPoint,
this.theme,
this.turnOn = false,
Key? key,
}) : super(key: key);