Erweiterungen
This commit is contained in:
1 parent
8c906d6bc2
commit
eb2ffab6cd
5 files changed
+13
-5
No files matched your search
@@ -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
@@ -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>[
|
||||
|
||||
Reference in new issue
Block a user