GestureSettings constructor Null safety

const GestureSettings(
  1. {double? physicalTouchSlop,
  2. double? physicalDoubleTapSlop}
)

Create a new GestureSettings value.

Consider using GestureSettings.copyWith on an existing settings object to ensure that newly added fields are correctly set.

Implementation

const GestureSettings({
  this.physicalTouchSlop,
  this.physicalDoubleTapSlop,
});