toastDelayed method

  1. @Deprecated("Use context.showMessage() or context.showMessageDelayed() instead which has more options and customizations available")
dynamic toastDelayed(
  1. String message
)

Implementation

@Deprecated("Use context.showMessage() or context.showMessageDelayed() instead which has more options and customizations available")
toastDelayed(
  String message,
) async {
  return Future.delayed(
    const Duration(milliseconds: 100),
    () {
      toast(message);
    },
  );
}