hitTestBehavior property

HitTestBehavior? hitTestBehavior
final

Defines how the snack bar area, including margin, will behave during hit testing.

If this property is null, and margin is not null or SnackBarThemeData.insetPadding of ThemeData.snackBarTheme is not null, then HitTestBehavior.deferToChild is used by default.

Please refer to HitTestBehavior for a detailed explanation of every behavior.

Implementation

final HitTestBehavior? hitTestBehavior;