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

Pubblicato il: 05 gennaio 2021
sul canale di: 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


In questa pagina del sito puoi guardare il video online #23 || Exploring Flutter Widgets || Flutter AbsorbPointer & IgnorePointer della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Ripples Code 05 gennaio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 651 volte e gli è piaciuto 18 spettatori. Buona visione!