SundayCupertinoText constructor

const SundayCupertinoText({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. TextAlign textAlign = TextAlign.start,
  6. TextDirection? textDirection,
  7. Locale? locale,
  8. bool softWrap = true,
  9. TextOverflow overflow = TextOverflow.clip,
  10. TextScaler textScaler = TextScaler.noScaling,
  11. int? maxLines,
  12. String? semanticsLabel,
  13. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  14. TextHeightBehavior? textHeightBehavior,
})

Creates a SundayCupertinoText.

The text parameter must not be null.

Implementation

const SundayCupertinoText({
  super.key,
  required this.text,
  this.style,
  this.strutStyle,
  this.textAlign = TextAlign.start,
  this.textDirection,
  this.locale,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.textScaler = TextScaler.noScaling,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis = TextWidthBasis.parent,
  this.textHeightBehavior,
});