Erweiterungen

This commit is contained in:
Sven committed 2024-03-06 11:44:23 +01:00
1 parent 8c906d6bc2
commit eb2ffab6cd
5 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ class MqttCore {
Util.logInfo('message received');
Util.logInfo('topic: $topic');
Util.logInfo('payload: $payload');
Util.logInfo('message: $payload');
Map<String, dynamic> messageData = jsonDecode(payload);
+5 -1
View File
@@ -196,7 +196,11 @@ Widget getDefaultButton(String text, Function() onPressed, {Image? image, double
Radius.circular(15),
),
),
onPressed: onPressed,
onPressed: () {
Util.logInfo("Button \"$text\" clicked");
onPressed();
},
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[