RenderIndentedText constructor
RenderIndentedText({
- required TextSpan text,
- required TextStyle style,
- double indent = 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,
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;