![image](https://private-user-images.githubusercontent.com/64513385/314143953-46578b43-5c41-4a53-9403-c65cb1450ab5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2MDEzNDcsIm5iZiI6MTcyNTYwMTA0NywicGF0aCI6Ii82NDUxMzM4NS8zMTQxNDM5NTMtNDY1NzhiNDMtNWM0MS00YTUzLTk0MDMtYzY1Y2IxNDUwYWI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDA1MzcyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3ZTZmMTQ2ZTI4OTA3ZDU2OTQ2ZDdjMzA0N2QzNDJhZDY2MzVhYjBmNjNhNGVhZjJlYzM4YjZkNDBlMjkzODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4BVXFHd0uS1Ow1nDS38YyG9CLQ4yxdgawxMkezuIhLE)
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,
),
),
);