|
|
@ -1,37 +1,42 @@
|
|
|
|
|
|
|
|
// Flutter imports:
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Package imports:
|
|
|
|
|
|
|
|
import 'package:aku_ui/aku_ui.dart';
|
|
|
|
|
|
|
|
import 'package:aku_ui/common_widgets/aku_material_button.dart';
|
|
|
|
|
|
|
|
import 'package:carousel_slider/carousel_slider.dart';
|
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Project imports:
|
|
|
|
import 'package:aku_community_manager/const/api.dart';
|
|
|
|
import 'package:aku_community_manager/const/api.dart';
|
|
|
|
import 'package:aku_community_manager/const/resource.dart';
|
|
|
|
import 'package:aku_community_manager/const/resource.dart';
|
|
|
|
import 'package:aku_community_manager/provider/anouncement_provider.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/mock_models/all_model.dart';
|
|
|
|
import 'package:aku_community_manager/mock_models/all_model.dart';
|
|
|
|
import 'package:aku_community_manager/mock_models/decoration/decoration_model.dart';
|
|
|
|
import 'package:aku_community_manager/mock_models/decoration/decoration_model.dart';
|
|
|
|
import 'package:aku_community_manager/mock_models/fix/fix_model.dart';
|
|
|
|
import 'package:aku_community_manager/mock_models/fix/fix_model.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/provider/anouncement_provider.dart';
|
|
|
|
import 'package:aku_community_manager/provider/app_provider.dart';
|
|
|
|
import 'package:aku_community_manager/provider/app_provider.dart';
|
|
|
|
import 'package:aku_community_manager/provider/user_provider.dart';
|
|
|
|
import 'package:aku_community_manager/provider/user_provider.dart';
|
|
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
|
|
import 'package:aku_community_manager/tools/screen_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/screen_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/widget_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/widget_tool.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/announcement/All_anouncement.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/announcement/All_anouncement.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/home/application/applications_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/business/business_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/business/business_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/messages/message.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/messages/message.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/application/applications_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/home/personal_draw.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/personal_draw.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/search_workorder_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/home/search_workorder_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/login/login_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/login/login_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/settings/user_info_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/settings/user_info_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/business_and_fix/business_and_fix_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/business_and_fix/business_fix_card.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/business_and_fix/business_fix_card.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/decoration_manager/decoration_manager_card.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/decoration_manager/decoration_manager_card.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/visitor_manager/visitor_manager_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/visitor_manager/visitor_manager_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/sub_pages/business_and_fix/business_and_fix_page.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/ui/tool_pages/scan_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/tool_pages/scan_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/tool_pages/warning/warning_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/tool_pages/warning/warning_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/widgets/app_widgets/aku_avatar.dart';
|
|
|
|
import 'package:aku_community_manager/ui/widgets/app_widgets/aku_avatar.dart';
|
|
|
|
import 'package:aku_ui/aku_ui.dart';
|
|
|
|
|
|
|
|
import 'package:aku_ui/common_widgets/aku_material_button.dart';
|
|
|
|
|
|
|
|
import 'package:carousel_slider/carousel_slider.dart';
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HomePage extends StatefulWidget {
|
|
|
|
class HomePage extends StatefulWidget {
|
|
|
|
HomePage({Key key}) : super(key: key);
|
|
|
|
HomePage({Key key}) : super(key: key);
|
|
|
|