From 57f689abb1adb2ad9faf41b9b8dd0b83e32d715a Mon Sep 17 00:00:00 2001 From: ashilkn Date: Wed, 1 Feb 2023 18:37:35 +0530 Subject: [PATCH] Added a comment --- lib/ui/components/menu_item_widget/menu_item_widget.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ui/components/menu_item_widget/menu_item_widget.dart b/lib/ui/components/menu_item_widget/menu_item_widget.dart index 36dfca682..e94781187 100644 --- a/lib/ui/components/menu_item_widget/menu_item_widget.dart +++ b/lib/ui/components/menu_item_widget/menu_item_widget.dart @@ -54,6 +54,10 @@ class MenuItemWidget extends StatefulWidget { final bool surfaceExecutionStates; + ///To show success state even when execution time < debouce time, set this + ///flag to true. If the loading state needs to be shown and success state not, + ///set the showOnlyLoadingState flag to true, setting this flag to false won't + ///help. final bool alwaysShowSuccessState; const MenuItemWidget({