behavior property Null safety

SnackBarBehavior? behavior
final

Default value for SnackBar.behavior.

If null, SnackBar will default to SnackBarBehavior.fixed.

Implementation

final SnackBarBehavior? behavior;