horizontalDirectional static method
Implementation
static DoubleChevron horizontalDirectional(
BuildContext context, {
Color? color,
double? size,
Shadow? shadow,
String? semanticLabel,
Key? key,
}) {
return switch (Directionality.of(context)) {
TextDirection.ltr => DoubleChevron.right(
color: color,
size: size,
shadow: shadow,
semanticLabel: semanticLabel,
key: key,
),
TextDirection.rtl => DoubleChevron.left(
color: color,
size: size,
shadow: shadow,
semanticLabel: semanticLabel,
key: key,
),
};
}