showError static method

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

Implementation

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