You can override the default styling of CustomSnackBar by passing specific values to its parameters.
By default, the widget uses:
kDefaultBoxShadow: A black26 shadow with an offset of (0, 8), spread of 1, and blur of 30.kDefaultBorderRadius: A circular radius of 12.
To change the layout, you can adjust iconPositionTop, iconPositionLeft, and iconRotationAngle (which is converted from degrees to radians internally). The text is centered within the container using messagePadding and textAlign.
const kDefaultBoxShadow = [
BoxShadow(
color: Colors.black26,
offset: Offset(0, 8),
spreadRadius: 1,
blurRadius: 30,
),
];
const kDefaultBorderRadius = BorderRadius.all(Radius.circular(12));