flutter absorb pointer
AbsorbPointer(
absorbing: true, // Whether this widget absorbs pointers during hit testing.
child: ElevatedButton(
child: const Text('Absorb Pointer'),
onPressed: () {},
),
),