// 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 _i25;
import 'package:enaklo/presentation/pages/auth/create_password/create_password_page.dart'
    as _i1;
import 'package:enaklo/presentation/pages/auth/login/login_page.dart' as _i5;
import 'package:enaklo/presentation/pages/auth/otp/otp_page.dart' as _i13;
import 'package:enaklo/presentation/pages/auth/password/password_page.dart'
    as _i14;
import 'package:enaklo/presentation/pages/auth/pin/pin_page.dart' as _i15;
import 'package:enaklo/presentation/pages/auth/register/register_page.dart'
    as _i20;
import 'package:enaklo/presentation/pages/draw/draw_page.dart' as _i3;
import 'package:enaklo/presentation/pages/draw/pages/draw_detail/draw_detail_page.dart'
    as _i2;
import 'package:enaklo/presentation/pages/main/main_page.dart' as _i6;
import 'package:enaklo/presentation/pages/main/pages/home/home_page.dart'
    as _i4;
import 'package:enaklo/presentation/pages/main/pages/order/order_page.dart'
    as _i12;
import 'package:enaklo/presentation/pages/main/pages/profile/profile_page.dart'
    as _i19;
import 'package:enaklo/presentation/pages/main/pages/voucher/voucher_page.dart'
    as _i24;
import 'package:enaklo/presentation/pages/merchant/merchant_page.dart' as _i8;
import 'package:enaklo/presentation/pages/merchant/pages/merchant_detail/merchant_detail_page.dart'
    as _i7;
import 'package:enaklo/presentation/pages/notification/notification_page.dart'
    as _i9;
import 'package:enaklo/presentation/pages/onboarding/onboarding_page.dart'
    as _i10;
import 'package:enaklo/presentation/pages/order/order_detail/order_detail_page.dart'
    as _i11;
import 'package:enaklo/presentation/pages/poin/pages/poin_history_page.dart'
    as _i16;
import 'package:enaklo/presentation/pages/poin/pages/product_redeem/product_redeem_page.dart'
    as _i18;
import 'package:enaklo/presentation/pages/poin/poin_page.dart' as _i17;
import 'package:enaklo/presentation/pages/reward/reward_page.dart' as _i21;
import 'package:enaklo/presentation/pages/splash/splash_page.dart' as _i22;
import 'package:enaklo/presentation/pages/voucher/voucher_detail/voucher_detail_page.dart'
    as _i23;
import 'package:flutter/material.dart' as _i26;

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

  static const String name = 'CreatePasswordRoute';

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

/// generated route for
/// [_i2.DrawDetailPage]
class DrawDetailRoute extends _i25.PageRouteInfo<DrawDetailRouteArgs> {
  DrawDetailRoute({
    _i26.Key? key,
    required _i3.DrawEvent drawEvent,
    List<_i25.PageRouteInfo>? children,
  }) : super(
         DrawDetailRoute.name,
         args: DrawDetailRouteArgs(key: key, drawEvent: drawEvent),
         initialChildren: children,
       );

  static const String name = 'DrawDetailRoute';

  static _i25.PageInfo page = _i25.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<DrawDetailRouteArgs>();
      return _i2.DrawDetailPage(key: args.key, drawEvent: args.drawEvent);
    },
  );
}

class DrawDetailRouteArgs {
  const DrawDetailRouteArgs({this.key, required this.drawEvent});

  final _i26.Key? key;

  final _i3.DrawEvent drawEvent;

  @override
  String toString() {
    return 'DrawDetailRouteArgs{key: $key, drawEvent: $drawEvent}';
  }
}

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

  static const String name = 'DrawRoute';

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

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

  static const String name = 'HomeRoute';

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

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

  static const String name = 'LoginRoute';

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

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

  static const String name = 'MainRoute';

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

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

  static const String name = 'MerchantDetailRoute';

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

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

  final _i26.Key? key;

  final _i8.MerchantModel merchant;

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

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

  static const String name = 'MerchantRoute';

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

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

  static const String name = 'NotificationRoute';

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

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

  static const String name = 'OnboardingRoute';

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

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

  static const String name = 'OrderDetailRoute';

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

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

  final _i26.Key? key;

  final _i12.Order order;

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

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

  static const String name = 'OrderRoute';

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

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

  static const String name = 'OtpRoute';

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

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

  static const String name = 'PasswordRoute';

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

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

  static const String name = 'PinRoute';

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

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

  final _i26.Key? key;

  final bool isCreatePin;

  final String? title;

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

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

  static const String name = 'PoinHistoryRoute';

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

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

  static const String name = 'PoinRoute';

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

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

  static const String name = 'ProductRedeemRoute';

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

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

  final _i26.Key? key;

  final _i17.Product product;

  final _i17.PointCard pointCard;

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

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

  static const String name = 'ProfileRoute';

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

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

  static const String name = 'RegisterRoute';

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

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

  static const String name = 'RewardRoute';

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

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

  static const String name = 'SplashRoute';

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

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

  static const String name = 'VoucherDetailRoute';

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

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

  static const String name = 'VoucherRoute';

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