show static method
dynamic
show(})
Implementation
static show(BuildContext context,
{String text = "titulo!",
Color? textColor,
Color? backgroundColor,
IconData? icon,
bool? action = false,
String labelBtnAction = 'Ok',
Function? onPressedAction}) {
ScaffoldMessenger.of(context).hideCurrentSnackBar();
ScaffoldMessenger.of(context).showSnackBar(_buildSnackbar(
context: context,
text: text,
textColor: textColor,
backgroundColor: backgroundColor,
labelBtnAction: labelBtnAction,
isAction: action,
icon: icon,
onPressedAction: onPressedAction));
}