onTapOpaque method

Widget onTapOpaque(
  1. GestureTapCallback? onPressed
)

Implementation

Widget onTapOpaque(final GestureTapCallback? onPressed) =>
    GestureDetector(onTap: onPressed, behavior: HitTestBehavior.opaque, child: this);