Added a comment
This commit is contained in:
parent
08766be92f
commit
57f689abb1
1 changed files with 4 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue