PressableContainer constructor

const PressableContainer({
  1. Key? key,
  2. required Widget child,
  3. double scale = .8,
  4. void onPressed()?,
  5. Duration duration = const Duration(milliseconds: 100),
})

Implementation

const PressableContainer({
  super.key,
  required this.child,
  this.scale = .8,
  this.onPressed,
  this.duration = const Duration(milliseconds: 100),
});