width property

double? width
final

Overrides the default value for SnackBar.width.

If this property is null, then the snack bar will take up the full device width less the margin. This value is only used when behavior is SnackBarBehavior.floating.

Implementation

final double? width;