buildWidget method

Widget? buildWidget(
  1. dynamic context
)

Implementation

Widget? buildWidget(context) {
  if (options.widget == null && options.type != QuickAlertType.custom) {
    return Container();
  } else {
    Widget widget = Container();
    if (options.type == QuickAlertType.custom) {
      widget = options.widget ?? widget;
    }
    return options.widget;
  }
}