SundayCupertinoText constructor
const
SundayCupertinoText({
- Key? key,
- required String text,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- Locale? locale,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- TextScaler textScaler = TextScaler.noScaling,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- 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,
});