floatingTextStyle property
TextStyle
get
floatingTextStyle
Implementation
TextStyle get floatingTextStyle {
final x = floatingTextStyleState?.fromController(this) ??
_floatingTextStyle ??
const TextStyle(fontSize: 12, fontWeight: FontWeight.w500);
if (floatingVisibility.isVisible || text.isNotEmpty) {
return x;
} else {
return x.copyWith(color: Colors.transparent);
}
}
set
floatingTextStyle
(TextStyle? value)
Implementation
set floatingTextStyle(TextStyle? value) => _floatingTextStyle = value;