showCustom method

void showCustom(
  1. Widget custom,
  2. {Duration duration = const Duration(seconds: 3)}
)

Implementation

void showCustom(
  Widget custom, {
  Duration duration = const Duration(seconds: 3),
}) {
  currentState.displayPopUp(
    PopUpData(
      duration,
      custom: custom,
    ),
  );
}