LabelStyle constructor

LabelStyle({
  1. TextStyle? style,
  2. InlineSpan span(
    1. String
    )?,
  3. TextAlign? textAlign,
  4. TextDirection? textDirection,
  5. double? textScaleFactor,
  6. int? maxLines,
  7. String? ellipsis,
  8. Locale? locale,
  9. StrutStyle? strutStyle,
  10. TextWidthBasis? textWidthBasis,
  11. TextHeightBehavior? textHeightBehavior,
  12. double? minWidth,
  13. double? maxWidth,
  14. Offset? offset,
  15. double? rotation,
  16. 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]));