RSnackbarLoadingConfig constructor

RSnackbarLoadingConfig(
  1. String msg, {
  2. VoidCallback? onCancel,
  3. TextStyle? textStyle,
  4. BorderRadius? borderRadius,
  5. Color backgroundColor = Colors.black,
  6. Color? progressIndicatorColor,
  7. 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);