shouldPaint property
Whether the child widget should be painted and respond to hit tests.
When true, the widget behaves normally. When false, the widget maintains its layout but is not painted and does not respond to touch events.
Implementation
final bool shouldPaint;