AppText constructor

const AppText(
  1. String text, {
  2. Key? key,
  3. required TextStyle style,
  4. Alignment alignment = Alignment.centerLeft,
  5. bool softWrap = false,
  6. int? maxLines,
  7. TextOverflow? overflow,
})

Implementation

const AppText(this.text,
    {super.key,
    required this.style,
    this.alignment = Alignment.centerLeft,
    this.softWrap = false,
    this.maxLines,
    this.overflow});