floatingAlignment property
Alignment
get
floatingAlignment
Implementation
Alignment get floatingAlignment {
if (textAlign == TextAlign.center) {
return Alignment.center;
} else {
if (_floatingAlignment != null) {
return _floatingAlignment!;
}
final isRTL = textDirection == TextDirection.rtl;
return isRTL ? Alignment.centerRight : Alignment.centerLeft;
}
}
set
floatingAlignment
(Alignment? value)
Implementation
set floatingAlignment(Alignment? value) => _floatingAlignment = value;