No video
Flutter ClipRect Widget Abdul Motaleb| Learn With Motaleb|Flutter Widget
A widget that clips its child using a rectangle.
By default, ClipRect prevents its child from painting outside its bounds, but the size and location of the clip rect can be customized using a custom clipper.
ClipRect is commonly used with these widgets, which commonly paint outside their bounds:
CustomPaint
CustomSingleChildLayout
CustomMultiChildLayout
Align and Center (e.g., if Align.widthFactor or Align.heightFactor is less than 1.0).
OverflowBox
SizedOverflowBox
Follow Facebook Community: / 427533327933322
Follow Facebook: / learnwithmotaleb
Follow GitHub: github.com/lea...
Follow Website: www.learnwithm...
Follow Linkedin: / abdul-motaleb-345744172
E-mail: info@learnwithmotaleb.com
Phone/WhatsApp: +8801701577479
Пікірлер