
Make cutout effect of your text in an easy way.
CutOutText
need at least one argument which is text
CustomPaint(
painter: CutOutText(
text: 'Hello World',
textDirection: TextDirection.rtl,
boxRadius: 10,
boxBackgroundColor: Colors.blueAccent,
textStyle: TextStyle(
fontSize: 50.0,
fontWeight: FontWeight.bold,
),
),
);