horizontalDirectional static method

CircledArrow horizontalDirectional(
  1. BuildContext context, {
  2. CircledArrowType? type,
  3. Color? circleColor,
  4. Color? color,
  5. double? size,
  6. EdgeInsetsGeometry? padding,
  7. Shadow? shadow,
  8. String? semanticLabel,
  9. Key? key,
})

Implementation

static CircledArrow horizontalDirectional(
  BuildContext context, {
  CircledArrowType? type,
  Color? circleColor,
  Color? color,
  double? size,
  EdgeInsetsGeometry? padding,
  Shadow? shadow,
  String? semanticLabel,
  Key? key,
}) {
  return switch (Directionality.of(context)) {
    TextDirection.ltr => CircledArrow.right(
      type: type,
      circleColor: circleColor,
      color: color,
      size: size,
      padding: padding,
      shadow: shadow,
      semanticLabel: semanticLabel,
      key: key,
    ),
    TextDirection.rtl => CircledArrow.left(
      type: type,
      circleColor: circleColor,
      color: color,
      size: size,
      padding: padding,
      shadow: shadow,
      semanticLabel: semanticLabel,
      key: key,
    ),
  };
}