DraggableDoughPrefs constructor

DraggableDoughPrefs({
  1. double? breakDistance,
  2. bool? useHapticsOnBreak,
})

Creates DraggableDough preferences.

Implementation

factory DraggableDoughPrefs({
  double? breakDistance,
  bool? useHapticsOnBreak,
}) {
  return DraggableDoughPrefs.raw(
    breakDistance: breakDistance ?? 80,
    useHapticsOnBreak: useHapticsOnBreak ?? true,
  );
}