/*
 * @Author: WuXiangNan
 * @Date: 2021-02-18 09:39:24
 * @LastEditTime: 2021-04-01 16:24:52
 * @LastEditors: WuXiangNan
 * @Description: 
 */

import 'package:attendance_package/src/pages/clock_in/index.dart';
import 'package:attendance_package/src/util/map_location.dart';
import 'package:flutter/widgets.dart';
// import '../util/attendance_map.dart';
// import '../util/attendance_range.dart';
// import '../util/attendance_line.dart';
import 'package:flutter/material.dart';
import '../pages/calendar/index.dart';
import '../pages/rule/index.dart';
// import '../pages/track_manager/index.dart';
// import '../pages/track_manager/member_manager/member_map/index.dart';

Map<String, WidgetBuilder> routes = {
  // 考勤
  //考勤日历
  'attendance/calendar/index': (context) => CalendarPage(),

  //考勤签到
  'attendance/signIn/index': (context) => SignIn(),

  //考勤规则
  'attendance/rule/index': (context) => RulePage(),

  // 地勤
  'attendance/location': (context) => LocationPosition(), //定位
  // 'attendance/map': (context) =>
  //     AllMapConfigDemoPage('总体演示', '演示AMapWidget的所有配置项'), //地图范围
  // 'attendance/range': (context) =>
  //     PolygonDemoPage('Polygon操作', '演示Polygon的相关属性的操作'), //地图范围
  // 'attendance/line': (context) => PolylineDemoPage('', ''), //地图范围
  // 'attendance/track/index': (context) => IndexPage(), //地图范围
  // 'attendance/track/memberMap': (context) => MemberMapPage(), //地图范围
};
