NashDirectionText typedef

NashDirectionText = DirectionText

A Text widget that automatically applies the correct font from a FontConfig based on the current text direction.

DirectionText(
  'مرحبا بك',
  fontConfig: FontConfig.google(ltr: 'Inter', rtl: 'Cairo'),
  style: TextStyle(fontSize: 18),
)
A backwards-compatible alias for [DirectionText].

Implementation

typedef NashDirectionText = DirectionText;