// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

enum TXTransitionType {
  TXTransitionType_LefRightSlipping /* null */,
  TXTransitionType_UpDownSlipping /* null */,
  TXTransitionType_Enlarge /* null */,
  TXTransitionType_Narrow /* null */,
  TXTransitionType_RotationalScaling /* null */,
  TXTransitionType_FadeinFadeout /* null */
}

extension TXTransitionTypeToX on TXTransitionType {
  int toValue() {
    switch (this) {
      case TXTransitionType.TXTransitionType_LefRightSlipping: return TXTransitionType.TXTransitionType_LefRightSlipping.index + 0;
      case TXTransitionType.TXTransitionType_UpDownSlipping: return TXTransitionType.TXTransitionType_UpDownSlipping.index + 0;
      case TXTransitionType.TXTransitionType_Enlarge: return TXTransitionType.TXTransitionType_Enlarge.index + 0;
      case TXTransitionType.TXTransitionType_Narrow: return TXTransitionType.TXTransitionType_Narrow.index + 0;
      case TXTransitionType.TXTransitionType_RotationalScaling: return TXTransitionType.TXTransitionType_RotationalScaling.index + 0;
      case TXTransitionType.TXTransitionType_FadeinFadeout: return TXTransitionType.TXTransitionType_FadeinFadeout.index + 0;
      default: return 0;
    }
  }
}

extension TXTransitionTypeFromX on int {
  TXTransitionType toTXTransitionType() {
    switch (this) {
      
      default: return TXTransitionType.values[this + 0];
    }
  }
}