StaggerTextWaterMarkPainter constructor

StaggerTextWaterMarkPainter({
  1. required String text,
  2. String? text2,
  3. EdgeInsets? padding1,
  4. EdgeInsets padding2 = const EdgeInsets.all(30),
  5. double? rotate,
  6. TextStyle? textStyle,
  7. Axis staggerAxis = Axis.vertical,
  8. 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;