RSnackbarLoadingConfig constructor
RSnackbarLoadingConfig(
- String msg, {
- VoidCallback? onCancel,
- TextStyle? textStyle,
- BorderRadius? borderRadius,
- Color backgroundColor = Colors.black,
- Color? progressIndicatorColor,
- Color forgroundColor = Colors.white,
Implementation
RSnackbarLoadingConfig(
String msg, {
VoidCallback? onCancel,
TextStyle? textStyle,
BorderRadius? borderRadius,
Color backgroundColor = Colors.black,
Color? progressIndicatorColor,
Color forgroundColor = Colors.white,
}) : super(Text(msg, maxLines: 2, overflow: TextOverflow.ellipsis),
leading: CircularProgressIndicator(color: progressIndicatorColor),
onDismissed: onCancel,
textStyle: textStyle,
autoDismissed: false,
forgroundColor: forgroundColor,
borderRadius: borderRadius,
backgroundColor: backgroundColor,
durationVisibility: false);