isDirectionRTL method

bool isDirectionRTL(
  1. BuildContext context
)

isDirectionRTL(BuildContext context) returns true if active language direction is TRL

Implementation

bool isDirectionRTL(BuildContext context) =>
    Directionality.of(context) == TextDirection.rtl;