ResponsiveText constructor

const ResponsiveText(
  1. String text, {
  2. Key? key,
  3. double fontSize = 14,
  4. TextAlign? textAlign,
  5. Color? color,
  6. FontWeight? fontWeight,
  7. TextOverflow? overflow,
  8. int? maxLines,
  9. TextStyle? textStyle,
  10. MaterialState? materialState,
  11. bool? softWrap,
})

Implementation

const ResponsiveText(
  this.text, {
  Key? key,
  this.fontSize = 14,
  this.textAlign,
  this.color,
  this.fontWeight,
  this.overflow,
  this.maxLines,
  this.textStyle,
  this.materialState,
  this.softWrap,
}) : super(key: key);