From 6ee764b74a4d81f095a51537f186fa085a8a3fe4 Mon Sep 17 00:00:00 2001 From: Thomas Burkhart Date: Wed, 25 Dec 2024 20:29:09 +0100 Subject: [PATCH] AI assistent deleted too much --- CHANGELOG.md | 2 ++ lib/command_builder.dart | 3 +++ pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb7423a..3652abf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +[7.2.2] - 25.12.2024 +* another fix [7.2.1] - 25.12.2024 * logic fix [7.2.0] - 25.12.2024 diff --git a/lib/command_builder.dart b/lib/command_builder.dart index 58c9d9d..7beb2b0 100644 --- a/lib/command_builder.dart +++ b/lib/command_builder.dart @@ -47,6 +47,9 @@ class CommandBuilder extends StatelessWidget { onData: onData != null ? (data, paramData) => onData!.call(context, data, paramData) : null, + onSuccess: onSuccess != null + ? (paramData) => onSuccess!.call(context, paramData) + : null, onNullData: onNullData != null ? (paramData) => onNullData!.call(context, paramData) : null, diff --git a/pubspec.yaml b/pubspec.yaml index 20f352b..e2d814b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_command description: flutter_command is a way to manage your state based on `ValueListenable` and the `Command` design pattern. -version: 7.2.1 +version: 7.2.2 homepage: https://github.com/escamoteur/flutter_command environment: