InterRegularText constructor

InterRegularText(
  1. String text, {
  2. Key? key,
  3. Color color = Colors.black,
  4. double fontSize = 14.0,
  5. FontWeight fontWeight = FontWeight.w400,
  6. String fontFamily = 'Inter',
  7. TextAlign? textAlign,
  8. int? maxLines,
  9. TextOverflow? overflow,
  10. double? height,
  11. TextSpan? textSpan,
})

Implementation

InterRegularText(
    String text, {
      Key? key,
      Color color = Colors.black,
      double fontSize = 14.0,
      FontWeight fontWeight = FontWeight.w400,
      String fontFamily = 'Inter',
      TextAlign? textAlign,
      int? maxLines,
      TextOverflow? overflow,
      double? height,
      TextSpan? textSpan
    }) : super(
  text,
  key: key,
  textAlign: textAlign,
  maxLines: maxLines,
  overflow: overflow,
  style: TextStyle(
    color: color,
    fontSize: fontSize,
    fontWeight: fontWeight,
    fontFamily: fontFamily,
    height: height
  ),
);