getEffectiveTextDirection method

  1. @protected
TextDirection? getEffectiveTextDirection(
  1. BuildContext context
)

Implementation

@protected
TextDirection? getEffectiveTextDirection(BuildContext context) {
  return textDirection ??
      (_needTextDirection ? Directionality.maybeOf(context) : null);
}