LabelStyle constructor
LabelStyle({
- TextStyle? style,
- InlineSpan span()?,
- TextAlign? textAlign,
- TextDirection? textDirection,
- double? textScaleFactor,
- int? maxLines,
- String? ellipsis,
- Locale? locale,
- StrutStyle? strutStyle,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- double? minWidth,
- double? maxWidth,
- Offset? offset,
- double? rotation,
- Alignment? align,
Creates a label style.
Implementation
LabelStyle({
this.style,
this.span,
this.textAlign,
this.textDirection,
this.textScaleFactor,
this.maxLines,
this.ellipsis,
this.locale,
this.strutStyle,
this.textWidthBasis,
this.textHeightBehavior,
this.minWidth,
this.maxWidth,
this.offset,
this.rotation,
this.align,
}) : assert(isSingle([style, span]));