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

Publié le: 05 janvier 2021
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne #23 || Exploring Flutter Widgets || Flutter AbsorbPointer & IgnorePointer durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ripples Code 05 janvier 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 651 fois et il a aimé 18 téléspectateurs. Bon visionnage!