StaggerTextWaterMarkPainter constructor
StaggerTextWaterMarkPainter({
- required String text,
- String? text2,
- EdgeInsets? padding1,
- EdgeInsets padding2 = const EdgeInsets.all(30),
- double? rotate,
- TextStyle? textStyle,
- Axis staggerAxis = Axis.vertical,
- TextDirection textDirection = TextDirection.ltr,
Implementation
StaggerTextWaterMarkPainter({
required this.text,
String? text2,
this.padding1,
this.padding2 = const EdgeInsets.all(30),
this.rotate,
this.textStyle,
this.staggerAxis = Axis.vertical,
this.textDirection = TextDirection.ltr,
}) : text2 = text2 ?? text;