SnackBarConfig constructor

const SnackBarConfig({
  1. LinearGradient? backgroundGradient,
  2. Color backgroundColor = Colors.black54,
  3. Color colorText = Colors.white,
  4. double barBlur = 7,
  5. double borderRadius = 15,
  6. double maxWidth = 600,
  7. EdgeInsets margin = const EdgeInsets.all(15),
  8. EdgeInsets padding = const EdgeInsets.all(15),
  9. SnackPosition snackPosition = SnackPosition.TOP,
})

Implementation

const SnackBarConfig({
  this.backgroundGradient,
  this.backgroundColor = Colors.black54,
  this.colorText = Colors.white,
  this.barBlur = 7,
  this.borderRadius = 15,
  this.maxWidth = 600,
  this.margin = const EdgeInsets.all(15),
  this.padding = const EdgeInsets.all(15),
  this.snackPosition = SnackPosition.TOP,
});