Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
Specifies text alignment. The value 'justify' is only supported on iOS and fallbacks to left on Android.
Note: Unlike <Text>, TextInput treats left and right as physical values that do not flip in RTL mode. On <Text>, textAlign: 'left' behaves as logical start (aligns right in RTL), but on TextInput it always aligns left. For direction-aware alignment on TextInput, use I18nManager.isRTL ? 'right' : 'left'. See #45255 for background.
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
Type
Required
Platform
bool
No
Android
textAlignVertical
Type
Required
Platform
enum('auto', 'top', 'bottom', 'center')
No
Android
fontVariant
Type
Required
Platform
array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums')