showMessage static method

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

Implementation

static showMessage({message, required BuildContext context}) {
  return Richbar(
    message,
    duration: _kDuration,
    backgroundColor: kBlueColor,
    richbarPosition: RichbarPosition.top,
  ).show(context);
}