CustomText constructor

const CustomText({
  1. Key? key,
  2. required String text,
  3. bool? softWrap,
  4. TextStyle? textStyle,
  5. dynamic onTap()?,
  6. double bottom = 0.0,
  7. double left = 0.0,
  8. double right = 0.0,
  9. double top = 0.0,
  10. int maxLines = 10,
  11. TextAlign? textAlign,
})

Implementation

const CustomText({Key? key,
  required this.text,
  this.softWrap,
  this.textStyle,
this.onTap,
this.bottom = 0.0,
this.left = 0.0,
this.right = 0.0,
this.top = 0.0,
this.maxLines = 10,
this.textAlign
}) : super(key: key);