langFastor static method

Positioned langFastor({
  1. required Widget child,
  2. double? left,
  3. double? right,
  4. double? top,
  5. double? bottom,
})

Implementation

static Positioned langFastor( {

  required Widget child,
  double? left,
  double? right,
  double? top,
  double? bottom,
} ) {
  bool isArabic = LangFastor.isArabic;
  if( isArabic ) {
    return Positioned(child: child,
      top: top,
      bottom: bottom,
      right: left,
      left: right,
    );
  } else {
    return Positioned(child: child,
      top: top,
      bottom: bottom,
      right:  right,
      left: left,
    );
  }

}