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: