Directionality constructor

const Directionality({
  1. Key? key,
  2. required TextDirection textDirection,
  3. required Widget child,
})

Creates a widget that determines the directionality of text and text-direction-sensitive render objects.

Implementation

const Directionality({
  super.key,
  required this.textDirection,
  required super.child,
});