horizontalDirectional static method
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,
),
};
}