CustomInkwellWidget constructor

CustomInkwellWidget({
  1. Key? key,
  2. required dynamic onTap(),
  3. required Widget child,
})

Implementation

CustomInkwellWidget({
  Key? key,
  required Function() onTap,
  required Widget child,
}) : super(
        key: key,
        color: Colors.transparent,
        child: InkWell(
          onTap: onTap,
          splashColor: Colors.transparent,
          hoverColor:Colors.transparent,
          highlightColor: Colors.transparent,
          child: child.paddingAll(8),
        ),
      );