RenderIndentedText constructor

RenderIndentedText({
  1. required TextSpan text,
  2. required TextStyle style,
  3. double indent = 0,
  4. double share = 0,
  5. StrutStyle? strutStyle,
  6. TextAlign textAlign = TextAlign.start,
  7. bool softWrap = true,
  8. bool balance = false,
  9. bool pretty = false,
  10. required TextDirection textDirection,
  11. TextScaler textScaler = TextScaler.noScaling,
  12. TextHeightBehavior? textHeightBehavior,
  13. Locale? locale,
})

Implementation

RenderIndentedText({
  required TextSpan text,
  required TextStyle style,
  double indent = 0,
  double share = 0,
  StrutStyle? strutStyle,
  TextAlign textAlign = TextAlign.start,
  bool softWrap = true,
  bool balance = false,
  bool pretty = false,
  required TextDirection textDirection,
  TextScaler textScaler = TextScaler.noScaling,
  TextHeightBehavior? textHeightBehavior,
  Locale? locale,
}) : _text = text,
     _style = style,
     _indent = indent,
     _share = share,
     _strutStyle = strutStyle,
     _textAlign = textAlign,
     _softWrap = softWrap,
     _balance = balance,
     _pretty = pretty,
     _textDirection = textDirection,
     _textScaler = textScaler,
     _textHeightBehavior = textHeightBehavior,
     _locale = locale;