SnackBarInfo.error constructor

const SnackBarInfo.error({
  1. String? message,
})

Implementation

const SnackBarInfo.error({String? message})
    : this(type: SnackBarType.error, showSnackBar: true, message: message);