behavior property Null safety

SnackBarBehavior? behavior
final

Overrides the default value for SnackBar.behavior.

If null, SnackBar will default to SnackBarBehavior.fixed.

Implementation

final SnackBarBehavior? behavior;