showPaymentSnackBar function
- @Deprecated('Use showPaymentToast.')
- BuildContext context, {
- required String message,
- StatusTone tone = StatusTone.neutral,
- String? actionLabel,
- VoidCallback? onAction,
Deprecated wrapper of showPaymentToast returning the Material controller.
Implementation
@Deprecated('Use showPaymentToast.')
ScaffoldFeatureController<SnackBar, SnackBarClosedReason> showPaymentSnackBar(
BuildContext context, {
required String message,
StatusTone tone = StatusTone.neutral,
String? actionLabel,
VoidCallback? onAction,
}) => _showToast(
context,
message: message,
tone: tone,
actionLabel: actionLabel,
onAction: onAction,
)._feature;