/*
 * @Author: WuWei
 * @Date: 2020-05-26 15:52:38
 * @LastEditors  : WuWei
 * @LastEditTime : 2023-10-25 14:57:11
 * @Description:
 */

import 'package:flutter/material.dart';
import 'package:receipt_package/src/pages/deposit_detail/index.dart';
import 'package:receipt_package/src/pages/index/index.dart';
import 'package:receipt_package/src/pages/pledge_detail/index.dart';
import 'package:receipt_package/src/pages/submit/index.dart';
import 'package:receipt_package/src/pages/success/index.dart';

Map<String, WidgetBuilder> routes = {
  /// 收费管理跟手机收单首页一致
  // 'bill/index': (context) => ReceiptIndexPage(),
  'receipt/index': (context) => ReceiptIndexPage(),

  /// 车场收单
  'car_receipt/index': (context) => ReceiptIndexPage(entry: 'car'),

  /// 预存款详情
  'receipt/deposit_detail': (context) => DepositDetailPage(),

  /// 押金详情
  'receipt/pledge_detail': (context) => PledgeDetailPage(),

  /// 确认收款信息
  'receipt/submit': (context) => SubmintPage(),

  /// 收单成功
  'receipt/success': (context) => SuccessPage(),
};
