// dart format width=80
// GENERATED CODE - DO NOT MODIFY BY HAND

// **************************************************************************
// AutoRouterGenerator
// **************************************************************************

// ignore_for_file: type=lint
// coverage:ignore-file

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:auto_route/auto_route.dart' as _i33;
import 'package:enaklo/presentation/pages/account/account_my/account_my_page.dart'
    as _i1;
import 'package:enaklo/presentation/pages/account/address/address_page.dart'
    as _i2;
import 'package:enaklo/presentation/pages/account/payment/payment_page.dart'
    as _i22;
import 'package:enaklo/presentation/pages/auth/create_password/create_password_page.dart'
    as _i3;
import 'package:enaklo/presentation/pages/auth/login/login_page.dart' as _i12;
import 'package:enaklo/presentation/pages/auth/otp/otp_page.dart' as _i20;
import 'package:enaklo/presentation/pages/auth/password/password_page.dart'
    as _i21;
import 'package:enaklo/presentation/pages/auth/pin/pin_page.dart' as _i23;
import 'package:enaklo/presentation/pages/auth/register/register_page.dart'
    as _i28;
import 'package:enaklo/presentation/pages/draw/draw_page.dart' as _i7;
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/draw_detail_page.dart'
    as _i4;
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/pages/draw_info_page.dart'
    as _i5;
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/pages/draw_my_number_page.dart'
    as _i6;
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/pages/draw_today_page.dart'
    as _i8;
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/pages/draw_winner_page.dart'
    as _i9;
import 'package:enaklo/presentation/pages/main/main_page.dart' as _i13;
import 'package:enaklo/presentation/pages/main/pages/home/home_page.dart'
    as _i11;
import 'package:enaklo/presentation/pages/main/pages/order/order_page.dart'
    as _i19;
import 'package:enaklo/presentation/pages/main/pages/profile/profile_page.dart'
    as _i27;
import 'package:enaklo/presentation/pages/main/pages/voucher/voucher_page.dart'
    as _i32;
import 'package:enaklo/presentation/pages/merchant/merchant_page.dart' as _i15;
import 'package:enaklo/presentation/pages/merchant/pages/merchant_detail/merchant_detail_page.dart'
    as _i14;
import 'package:enaklo/presentation/pages/mini_games/ferris_wheel/ferris_wheel_page.dart'
    as _i10;
import 'package:enaklo/presentation/pages/notification/notification_page.dart'
    as _i16;
import 'package:enaklo/presentation/pages/onboarding/onboarding_page.dart'
    as _i17;
import 'package:enaklo/presentation/pages/order/order_detail/order_detail_page.dart'
    as _i18;
import 'package:enaklo/presentation/pages/poin/pages/poin_history_page.dart'
    as _i24;
import 'package:enaklo/presentation/pages/poin/pages/product_redeem/product_redeem_page.dart'
    as _i26;
import 'package:enaklo/presentation/pages/poin/poin_page.dart' as _i25;
import 'package:enaklo/presentation/pages/reward/reward_page.dart' as _i29;
import 'package:enaklo/presentation/pages/splash/splash_page.dart' as _i30;
import 'package:enaklo/presentation/pages/voucher/voucher_detail/voucher_detail_page.dart'
    as _i31;
import 'package:enaklo/sample/sample_data.dart' as _i35;
import 'package:flutter/material.dart' as _i34;

/// generated route for
/// [_i1.AccountMyPage]
class AccountMyRoute extends _i33.PageRouteInfo<void> {
  const AccountMyRoute({List<_i33.PageRouteInfo>? children})
    : super(AccountMyRoute.name, initialChildren: children);

  static const String name = 'AccountMyRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i1.AccountMyPage();
    },
  );
}

/// generated route for
/// [_i2.AddressPage]
class AddressRoute extends _i33.PageRouteInfo<void> {
  const AddressRoute({List<_i33.PageRouteInfo>? children})
    : super(AddressRoute.name, initialChildren: children);

  static const String name = 'AddressRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i2.AddressPage();
    },
  );
}

/// generated route for
/// [_i3.CreatePasswordPage]
class CreatePasswordRoute extends _i33.PageRouteInfo<CreatePasswordRouteArgs> {
  CreatePasswordRoute({
    _i34.Key? key,
    required String registrationToken,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         CreatePasswordRoute.name,
         args: CreatePasswordRouteArgs(
           key: key,
           registrationToken: registrationToken,
         ),
         initialChildren: children,
       );

  static const String name = 'CreatePasswordRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<CreatePasswordRouteArgs>();
      return _i33.WrappedRoute(
        child: _i3.CreatePasswordPage(
          key: args.key,
          registrationToken: args.registrationToken,
        ),
      );
    },
  );
}

class CreatePasswordRouteArgs {
  const CreatePasswordRouteArgs({this.key, required this.registrationToken});

  final _i34.Key? key;

  final String registrationToken;

  @override
  String toString() {
    return 'CreatePasswordRouteArgs{key: $key, registrationToken: $registrationToken}';
  }
}

/// generated route for
/// [_i4.DrawDetailPage]
class DrawDetailRoute extends _i33.PageRouteInfo<void> {
  const DrawDetailRoute({List<_i33.PageRouteInfo>? children})
    : super(DrawDetailRoute.name, initialChildren: children);

  static const String name = 'DrawDetailRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i4.DrawDetailPage();
    },
  );
}

/// generated route for
/// [_i5.DrawInfoPage]
class DrawInfoRoute extends _i33.PageRouteInfo<void> {
  const DrawInfoRoute({List<_i33.PageRouteInfo>? children})
    : super(DrawInfoRoute.name, initialChildren: children);

  static const String name = 'DrawInfoRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i5.DrawInfoPage();
    },
  );
}

/// generated route for
/// [_i6.DrawMyNumberPage]
class DrawMyNumberRoute extends _i33.PageRouteInfo<void> {
  const DrawMyNumberRoute({List<_i33.PageRouteInfo>? children})
    : super(DrawMyNumberRoute.name, initialChildren: children);

  static const String name = 'DrawMyNumberRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i6.DrawMyNumberPage();
    },
  );
}

/// generated route for
/// [_i7.DrawPage]
class DrawRoute extends _i33.PageRouteInfo<void> {
  const DrawRoute({List<_i33.PageRouteInfo>? children})
    : super(DrawRoute.name, initialChildren: children);

  static const String name = 'DrawRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i7.DrawPage();
    },
  );
}

/// generated route for
/// [_i8.DrawTodayPage]
class DrawTodayRoute extends _i33.PageRouteInfo<void> {
  const DrawTodayRoute({List<_i33.PageRouteInfo>? children})
    : super(DrawTodayRoute.name, initialChildren: children);

  static const String name = 'DrawTodayRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i8.DrawTodayPage();
    },
  );
}

/// generated route for
/// [_i9.DrawWinnerPage]
class DrawWinnerRoute extends _i33.PageRouteInfo<void> {
  const DrawWinnerRoute({List<_i33.PageRouteInfo>? children})
    : super(DrawWinnerRoute.name, initialChildren: children);

  static const String name = 'DrawWinnerRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i9.DrawWinnerPage();
    },
  );
}

/// generated route for
/// [_i10.FerrisWheelPage]
class FerrisWheelRoute extends _i33.PageRouteInfo<void> {
  const FerrisWheelRoute({List<_i33.PageRouteInfo>? children})
    : super(FerrisWheelRoute.name, initialChildren: children);

  static const String name = 'FerrisWheelRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return _i33.WrappedRoute(child: const _i10.FerrisWheelPage());
    },
  );
}

/// generated route for
/// [_i11.HomePage]
class HomeRoute extends _i33.PageRouteInfo<void> {
  const HomeRoute({List<_i33.PageRouteInfo>? children})
    : super(HomeRoute.name, initialChildren: children);

  static const String name = 'HomeRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i11.HomePage();
    },
  );
}

/// generated route for
/// [_i12.LoginPage]
class LoginRoute extends _i33.PageRouteInfo<void> {
  const LoginRoute({List<_i33.PageRouteInfo>? children})
    : super(LoginRoute.name, initialChildren: children);

  static const String name = 'LoginRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return _i33.WrappedRoute(child: const _i12.LoginPage());
    },
  );
}

/// generated route for
/// [_i13.MainPage]
class MainRoute extends _i33.PageRouteInfo<void> {
  const MainRoute({List<_i33.PageRouteInfo>? children})
    : super(MainRoute.name, initialChildren: children);

  static const String name = 'MainRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i13.MainPage();
    },
  );
}

/// generated route for
/// [_i14.MerchantDetailPage]
class MerchantDetailRoute extends _i33.PageRouteInfo<MerchantDetailRouteArgs> {
  MerchantDetailRoute({
    _i34.Key? key,
    required _i35.MerchantModel merchant,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         MerchantDetailRoute.name,
         args: MerchantDetailRouteArgs(key: key, merchant: merchant),
         initialChildren: children,
       );

  static const String name = 'MerchantDetailRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<MerchantDetailRouteArgs>();
      return _i14.MerchantDetailPage(key: args.key, merchant: args.merchant);
    },
  );
}

class MerchantDetailRouteArgs {
  const MerchantDetailRouteArgs({this.key, required this.merchant});

  final _i34.Key? key;

  final _i35.MerchantModel merchant;

  @override
  String toString() {
    return 'MerchantDetailRouteArgs{key: $key, merchant: $merchant}';
  }
}

/// generated route for
/// [_i15.MerchantPage]
class MerchantRoute extends _i33.PageRouteInfo<void> {
  const MerchantRoute({List<_i33.PageRouteInfo>? children})
    : super(MerchantRoute.name, initialChildren: children);

  static const String name = 'MerchantRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i15.MerchantPage();
    },
  );
}

/// generated route for
/// [_i16.NotificationPage]
class NotificationRoute extends _i33.PageRouteInfo<void> {
  const NotificationRoute({List<_i33.PageRouteInfo>? children})
    : super(NotificationRoute.name, initialChildren: children);

  static const String name = 'NotificationRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i16.NotificationPage();
    },
  );
}

/// generated route for
/// [_i17.OnboardingPage]
class OnboardingRoute extends _i33.PageRouteInfo<void> {
  const OnboardingRoute({List<_i33.PageRouteInfo>? children})
    : super(OnboardingRoute.name, initialChildren: children);

  static const String name = 'OnboardingRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i17.OnboardingPage();
    },
  );
}

/// generated route for
/// [_i18.OrderDetailPage]
class OrderDetailRoute extends _i33.PageRouteInfo<OrderDetailRouteArgs> {
  OrderDetailRoute({
    _i34.Key? key,
    required _i19.Order order,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         OrderDetailRoute.name,
         args: OrderDetailRouteArgs(key: key, order: order),
         initialChildren: children,
       );

  static const String name = 'OrderDetailRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<OrderDetailRouteArgs>();
      return _i18.OrderDetailPage(key: args.key, order: args.order);
    },
  );
}

class OrderDetailRouteArgs {
  const OrderDetailRouteArgs({this.key, required this.order});

  final _i34.Key? key;

  final _i19.Order order;

  @override
  String toString() {
    return 'OrderDetailRouteArgs{key: $key, order: $order}';
  }
}

/// generated route for
/// [_i19.OrderPage]
class OrderRoute extends _i33.PageRouteInfo<void> {
  const OrderRoute({List<_i33.PageRouteInfo>? children})
    : super(OrderRoute.name, initialChildren: children);

  static const String name = 'OrderRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i19.OrderPage();
    },
  );
}

/// generated route for
/// [_i20.OtpPage]
class OtpRoute extends _i33.PageRouteInfo<OtpRouteArgs> {
  OtpRoute({
    _i34.Key? key,
    required String registrationToken,
    required String phoneNumber,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         OtpRoute.name,
         args: OtpRouteArgs(
           key: key,
           registrationToken: registrationToken,
           phoneNumber: phoneNumber,
         ),
         initialChildren: children,
       );

  static const String name = 'OtpRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<OtpRouteArgs>();
      return _i33.WrappedRoute(
        child: _i20.OtpPage(
          key: args.key,
          registrationToken: args.registrationToken,
          phoneNumber: args.phoneNumber,
        ),
      );
    },
  );
}

class OtpRouteArgs {
  const OtpRouteArgs({
    this.key,
    required this.registrationToken,
    required this.phoneNumber,
  });

  final _i34.Key? key;

  final String registrationToken;

  final String phoneNumber;

  @override
  String toString() {
    return 'OtpRouteArgs{key: $key, registrationToken: $registrationToken, phoneNumber: $phoneNumber}';
  }
}

/// generated route for
/// [_i21.PasswordPage]
class PasswordRoute extends _i33.PageRouteInfo<PasswordRouteArgs> {
  PasswordRoute({
    _i34.Key? key,
    required String phoneNumber,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         PasswordRoute.name,
         args: PasswordRouteArgs(key: key, phoneNumber: phoneNumber),
         initialChildren: children,
       );

  static const String name = 'PasswordRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<PasswordRouteArgs>();
      return _i33.WrappedRoute(
        child: _i21.PasswordPage(key: args.key, phoneNumber: args.phoneNumber),
      );
    },
  );
}

class PasswordRouteArgs {
  const PasswordRouteArgs({this.key, required this.phoneNumber});

  final _i34.Key? key;

  final String phoneNumber;

  @override
  String toString() {
    return 'PasswordRouteArgs{key: $key, phoneNumber: $phoneNumber}';
  }
}

/// generated route for
/// [_i22.PaymentPage]
class PaymentRoute extends _i33.PageRouteInfo<void> {
  const PaymentRoute({List<_i33.PageRouteInfo>? children})
    : super(PaymentRoute.name, initialChildren: children);

  static const String name = 'PaymentRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i22.PaymentPage();
    },
  );
}

/// generated route for
/// [_i23.PinPage]
class PinRoute extends _i33.PageRouteInfo<PinRouteArgs> {
  PinRoute({
    _i34.Key? key,
    bool isCreatePin = true,
    String? title,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         PinRoute.name,
         args: PinRouteArgs(key: key, isCreatePin: isCreatePin, title: title),
         initialChildren: children,
       );

  static const String name = 'PinRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<PinRouteArgs>(
        orElse: () => const PinRouteArgs(),
      );
      return _i23.PinPage(
        key: args.key,
        isCreatePin: args.isCreatePin,
        title: args.title,
      );
    },
  );
}

class PinRouteArgs {
  const PinRouteArgs({this.key, this.isCreatePin = true, this.title});

  final _i34.Key? key;

  final bool isCreatePin;

  final String? title;

  @override
  String toString() {
    return 'PinRouteArgs{key: $key, isCreatePin: $isCreatePin, title: $title}';
  }
}

/// generated route for
/// [_i24.PoinHistoryPage]
class PoinHistoryRoute extends _i33.PageRouteInfo<void> {
  const PoinHistoryRoute({List<_i33.PageRouteInfo>? children})
    : super(PoinHistoryRoute.name, initialChildren: children);

  static const String name = 'PoinHistoryRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i24.PoinHistoryPage();
    },
  );
}

/// generated route for
/// [_i25.PoinPage]
class PoinRoute extends _i33.PageRouteInfo<void> {
  const PoinRoute({List<_i33.PageRouteInfo>? children})
    : super(PoinRoute.name, initialChildren: children);

  static const String name = 'PoinRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i25.PoinPage();
    },
  );
}

/// generated route for
/// [_i26.ProductRedeemPage]
class ProductRedeemRoute extends _i33.PageRouteInfo<ProductRedeemRouteArgs> {
  ProductRedeemRoute({
    _i34.Key? key,
    required _i25.Product product,
    required _i25.PointCard pointCard,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         ProductRedeemRoute.name,
         args: ProductRedeemRouteArgs(
           key: key,
           product: product,
           pointCard: pointCard,
         ),
         initialChildren: children,
       );

  static const String name = 'ProductRedeemRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<ProductRedeemRouteArgs>();
      return _i26.ProductRedeemPage(
        key: args.key,
        product: args.product,
        pointCard: args.pointCard,
      );
    },
  );
}

class ProductRedeemRouteArgs {
  const ProductRedeemRouteArgs({
    this.key,
    required this.product,
    required this.pointCard,
  });

  final _i34.Key? key;

  final _i25.Product product;

  final _i25.PointCard pointCard;

  @override
  String toString() {
    return 'ProductRedeemRouteArgs{key: $key, product: $product, pointCard: $pointCard}';
  }
}

/// generated route for
/// [_i27.ProfilePage]
class ProfileRoute extends _i33.PageRouteInfo<void> {
  const ProfileRoute({List<_i33.PageRouteInfo>? children})
    : super(ProfileRoute.name, initialChildren: children);

  static const String name = 'ProfileRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return _i33.WrappedRoute(child: const _i27.ProfilePage());
    },
  );
}

/// generated route for
/// [_i28.RegisterPage]
class RegisterRoute extends _i33.PageRouteInfo<RegisterRouteArgs> {
  RegisterRoute({
    _i34.Key? key,
    required String phoneNumber,
    List<_i33.PageRouteInfo>? children,
  }) : super(
         RegisterRoute.name,
         args: RegisterRouteArgs(key: key, phoneNumber: phoneNumber),
         initialChildren: children,
       );

  static const String name = 'RegisterRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<RegisterRouteArgs>();
      return _i33.WrappedRoute(
        child: _i28.RegisterPage(key: args.key, phoneNumber: args.phoneNumber),
      );
    },
  );
}

class RegisterRouteArgs {
  const RegisterRouteArgs({this.key, required this.phoneNumber});

  final _i34.Key? key;

  final String phoneNumber;

  @override
  String toString() {
    return 'RegisterRouteArgs{key: $key, phoneNumber: $phoneNumber}';
  }
}

/// generated route for
/// [_i29.RewardPage]
class RewardRoute extends _i33.PageRouteInfo<void> {
  const RewardRoute({List<_i33.PageRouteInfo>? children})
    : super(RewardRoute.name, initialChildren: children);

  static const String name = 'RewardRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i29.RewardPage();
    },
  );
}

/// generated route for
/// [_i30.SplashPage]
class SplashRoute extends _i33.PageRouteInfo<void> {
  const SplashRoute({List<_i33.PageRouteInfo>? children})
    : super(SplashRoute.name, initialChildren: children);

  static const String name = 'SplashRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i30.SplashPage();
    },
  );
}

/// generated route for
/// [_i31.VoucherDetailPage]
class VoucherDetailRoute extends _i33.PageRouteInfo<void> {
  const VoucherDetailRoute({List<_i33.PageRouteInfo>? children})
    : super(VoucherDetailRoute.name, initialChildren: children);

  static const String name = 'VoucherDetailRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i31.VoucherDetailPage();
    },
  );
}

/// generated route for
/// [_i32.VoucherPage]
class VoucherRoute extends _i33.PageRouteInfo<void> {
  const VoucherRoute({List<_i33.PageRouteInfo>? children})
    : super(VoucherRoute.name, initialChildren: children);

  static const String name = 'VoucherRoute';

  static _i33.PageInfo page = _i33.PageInfo(
    name,
    builder: (data) {
      return const _i32.VoucherPage();
    },
  );
}
