#23 || Exploring Flutter Widgets || Flutter AbsorbPointer & IgnorePointer

Published: 05 January 2021
on channel: Ripples Code
651
18

Support : https://paypal.me/ripplescode
In this video I have discussed about AbsorbPointer and IgnorePointer widget in Flutter.

AbsorbPointer && IgnorePointer
=================================
It is a widget which absorbs pointers. It means that it prevents its child from being clicked, tapped, scrolled, dragged, and respond to hover.In flutter we can individually disable widgets for e.g in RaisedButton we set onPressed to null to disable it.If we want to disable whole widget tree at once then we can do it with AbsorbPointer.

absorbing: true // by default
if this property is false then the child widget will be enabled again.

IgnorePointer
============
AbsorbPointer and IgnorePointer are similar but the difference comes when widgets are overlapped with each other.

ignoring:true // by default
if this property is false then the child widget will be enabled again.

#FlutterAbsorbPointer #FlutterIgnorePointer #FlutterTutorial