toInkWell method
Implementation
Widget toInkWell({bool hasEffect = false, VoidCallback? onTap}) => Material(
color: Colors.transparent,
child: InkWell(
onTap: onTap,
splashColor: !hasEffect ? Colors.transparent : null,
highlightColor: !hasEffect ? Colors.transparent : null,
child: this,
),
);