Flutter IgnorePointer

IgnorePointer(
          ignoring: true, // Whether this widget is ignored during hit testing.
          child: ElevatedButton(
            child: const Text('Absorb Pointer'),
            onPressed: () {},
          ),
        ),
Sore Serval