floatingLabelStyle method
Implementation
TextStyle floatingLabelStyle({required bool enabled, required bool error}) {
Color fontColor =
!enabled ? ZeroColors.neutral[7] : floatingLabelColor(error);
switch (inputDecorationType) {
case InputDecorationType.outline:
return TextStyle(color: fontColor, fontSize: 16);
case InputDecorationType.rounded:
return TextStyle(color: fontColor, fontSize: 16);
case InputDecorationType.fill:
return TextStyle(color: fontColor, fontSize: 16);
case InputDecorationType.underline:
return TextStyle(color: fontColor, fontSize: 16);
}
}