hideCurrentSnackBar function Null safety
- @Deprecated('Use `Asuka.hideCurrentSnackBar` instead')
- {SnackBarClosedReason reason = material.SnackBarClosedReason.remove,
- bool callback = false}
Removes the current SnackBar by running its normal exit animation.
The closed completer is called after the animation is complete.
Implementation
@Deprecated('Use `Asuka.hideCurrentSnackBar` instead')
void hideCurrentSnackBar(
{material.SnackBarClosedReason reason =
material.SnackBarClosedReason.remove,
bool callback = false}) {
return Asuka.hideCurrentSnackBar(reason: reason, callback: callback);
}