showSuccessAndDismiss method

Future showSuccessAndDismiss({
  1. required String text,
})

show success icon with text and dismiss automatic

Implementation

Future showSuccessAndDismiss({required String text}) async {
  await this.showAndDismiss(ProgressHudType.success, text);
}