updateDirection method
Implementation
FDirection updateDirection(
final Axis newValue,
final BuildContext context,
final frame.DeviceType deviceType,
) {
if (deviceType == frame.DeviceType.phone) {
return copyWith(direction: newValue);
} else if (deviceType == frame.DeviceType.tablet) {
return copyWith(directionTablet: newValue);
} else {
return copyWith(directionDesktop: newValue);
}
}