wTextWaterMarkWithOverflowBox method
Widget
wTextWaterMarkWithOverflowBox(
)
Implementation
Widget wTextWaterMarkWithOverflowBox() {
Future.delayed(const Duration(milliseconds: 200), () => debugPrint('dd'));
return Stack(
children: [
wPage(),
IgnorePointer(
child: TranslateWithExpandedPaintingArea(
offset: const Offset(-30, 0),
clipBehavior: Clip.hardEdge,
child: WaterMark(
painter: TextWaterMarkPainter(
text: 'Flutter 中国 @wendux',
textStyle: const TextStyle(
fontSize: 14,
color: Colors.black38,
),
rotate: -20,
),
),
),
),
],
);
}