LabelStyle constructor
LabelStyle(
- {TextStyle? textStyle,
- 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.textStyle,
this.span,
this.textAlign,
this.textDirection,
this.textScaleFactor,
this.maxLines,
this.ellipsis,
this.locale,
this.strutStyle,
this.textWidthBasis,
this.textHeightBehavior,
this.minWidth,
this.maxWidth,
Offset? offset,
double? rotation,
Alignment? align,
}) : assert(isSingle([textStyle, span])),
super(
offset: offset,
rotation: rotation,
align: align,
);