DSLimitedText constructor

const DSLimitedText(
  1. String text, {
  2. Key? key,
  3. required TextAlign textAlign,
  4. required TextStyle style,
  5. double? maxHeight,
  6. double? maxWidth,
  7. double marginHeight = 0,
  8. double minScale = 0.3,
  9. int groupId = -1,
})

Implementation

const DSLimitedText(this.text, {
  super.key,
  required this.textAlign,
  required this.style,
  this.maxHeight,
  this.maxWidth,
  this.marginHeight = 0,
  this.minScale = 0.3,
  this.groupId = -1,
}) : assert(minScale > 0);