showSuccess static method

dynamic showSuccess(
  1. String text, {
  2. String? icon,
  3. Color? customBoxColor,
  4. Color? customTextColor,
})

Implementation

static showSuccess(
    String text, {
      String? icon,
      Color? customBoxColor,
      Color? customTextColor,
    }) {
  _instance._showToast(text,
      icon: icon ?? "packages/gtech_flutter_ui/assets/svg/gtf_success.svg",
      customBoxColor: customBoxColor,
      customTextColor: customTextColor);
}