materialInkWell method

Widget materialInkWell(
  1. GestureTapCallback onTap, {
  2. Color color = Colors.transparent,
  3. Key? key,
})

Implementation

Widget materialInkWell(
  GestureTapCallback onTap, {
  Color color = Colors.transparent,
  Key? key,
}) {
  return Material(
    color: color,
    key: key,
    child: InkWell(
      child: this,
      onTap: onTap,
    ),
  );
}