PressableDough constructor

const PressableDough({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onStart,
  4. PressableDoughReleaseCallback? onReleased,
})

Creates a PressableDough widget.

Implementation

const PressableDough({
  Key? key,
  required this.child,
  this.onStart,
  this.onReleased,
}) : super(key: key);