width property Null safety
The width of the snack bar.
If width is specified, the snack bar will be centered horizontally in the available space. This property is only used when behavior is SnackBarBehavior.floating. It can not be used if margin is specified.
If this property is null, then the snack bar will take up the full device width less the margin.
final double? width;