TextPaginate constructor

TextPaginate({
  1. required String text,
  2. required TextStyle textStyle,
  3. required double pageWidth,
  4. required double pageHeight,
  5. EdgeInsets padding = EdgeInsets.zero,
  6. TextDirection textDirection = TextDirection.ltr,
})

Implementation

TextPaginate({
  required this.text,
  required this.textStyle,
  required this.pageWidth,
  required this.pageHeight,
  this.padding = EdgeInsets.zero,
  this.textDirection = TextDirection.ltr,
}) {
  _characters = text.characters;
}