get method

Axis? get({
  1. required BuildContext context,
})

Implementation

Axis? get({
  required final BuildContext context,
}) {
  Axis? directionValue;
  if (context.deviceType == frame.DeviceType.phone) {
    directionValue = direction;
  } else if (context.deviceType == frame.DeviceType.tablet) {
    directionValue = directionTablet;
  } else {
    directionValue = directionDesktop;
  }
  return directionValue;
}