showSuccess static method

dynamic showSuccess({
  1. dynamic message,
  2. required BuildContext context,
})

Implementation

static showSuccess({message, required BuildContext context}) {
  return Richbar(
    message,
    duration: _kDuration,
    backgroundColor: kBlueColor,
    richbarPosition: RichbarPosition.top,
    leading: const Icon(
      Icons.check_circle_rounded,
      color: Colors.lightBlueAccent,
    ),
  ).show(context);
}