Use GestureDetector wrapped Container, Container content was found in the empty area click onTap not catch the click event.
Solution: Add the attribute in GestureDetector inside:
behavior: HitTestBehavior.opaque
Use GestureDetector wrapped Container, Container content was found in the empty area click onTap not catch the click event.
Solution: Add the attribute in GestureDetector inside:
behavior: HitTestBehavior.opaque