InkStack constructor

const InkStack({
  1. Key? key,
  2. GestureTapCallback? onTap,
  3. GestureTapCallback? onDoubleTap,
  4. GestureLongPressCallback? onLongPress,
  5. List<Widget> background = const <Widget>[],
  6. List<Widget> foreground = const <Widget>[],
})

Implementation

const InkStack({
  Key? key,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.background = const <Widget>[],
  this.foreground = const <Widget>[],
}) : super(key: key);