SnackBarConfig constructor
const
SnackBarConfig({
- LinearGradient? backgroundGradient,
- Color backgroundColor = Colors.black54,
- Color colorText = Colors.white,
- double barBlur = 7,
- double borderRadius = 15,
- double maxWidth = 600,
- EdgeInsets margin = const EdgeInsets.all(15),
- EdgeInsets padding = const EdgeInsets.all(15),
- 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,
});