growerp_core 0.6.0-dev.7 growerp_core: ^0.6.0-dev.7 copied to clipboard
The Core of the GrowERP frontend
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add growerp_core
With Flutter:
$ flutter pub add growerp_core
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
growerp_core: ^0.6.0-dev.7
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:growerp_core/acctMenuOption_data.dart';
import 'package:growerp_core/api_repository.dart';
import 'package:growerp_core/coreRouter.dart';
import 'package:growerp_core/domains/accounting/accounting.dart';
import 'package:growerp_core/domains/accounting/blocs/blocs.dart';
import 'package:growerp_core/domains/accounting/blocs/glAccount_bloc.dart';
import 'package:growerp_core/domains/accounting/blocs/glAccount_event.dart';
import 'package:growerp_core/domains/accounting/blocs/glAccount_state.dart';
import 'package:growerp_core/domains/accounting/integration_test/invoice_test.dart';
import 'package:growerp_core/domains/accounting/integration_test/payment_test.dart';
import 'package:growerp_core/domains/accounting/integration_test/transaction_test.dart';
import 'package:growerp_core/domains/accounting/models/creditCardType_model.dart';
import 'package:growerp_core/domains/accounting/models/glAccount_model.dart';
import 'package:growerp_core/domains/accounting/models/glAccount_model.freezed.dart';
import 'package:growerp_core/domains/accounting/models/glAccount_model.g.dart';
import 'package:growerp_core/domains/accounting/models/item_type_model.dart';
import 'package:growerp_core/domains/accounting/models/item_type_model.freezed.dart';
import 'package:growerp_core/domains/accounting/models/item_type_model.g.dart';
import 'package:growerp_core/domains/accounting/models/models.dart';
import 'package:growerp_core/domains/accounting/models/paymentMethod_model.dart';
import 'package:growerp_core/domains/accounting/models/paymentMethod_model.freezed.dart';
import 'package:growerp_core/domains/accounting/models/paymentMethod_model.g.dart';
import 'package:growerp_core/domains/accounting/models/payment_instrument_model.dart';
import 'package:growerp_core/domains/accounting/models/payment_type_model.dart';
import 'package:growerp_core/domains/accounting/models/payment_type_model.freezed.dart';
import 'package:growerp_core/domains/accounting/models/payment_type_model.g.dart';
import 'package:growerp_core/domains/accounting/views/accounting_form.dart';
import 'package:growerp_core/domains/accounting/views/ledgerTree_form.dart';
import 'package:growerp_core/domains/accounting/views/paymentMethod_dialog.dart';
import 'package:growerp_core/domains/accounting/views/views.dart';
import 'package:growerp_core/domains/accounting/widgets/widgets.dart';
import 'package:growerp_core/domains/authenticate/authenticate.dart';
import 'package:growerp_core/domains/authenticate/blocs/auth_bloc.dart';
import 'package:growerp_core/domains/authenticate/blocs/auth_event.dart';
import 'package:growerp_core/domains/authenticate/blocs/auth_state.dart';
import 'package:growerp_core/domains/authenticate/blocs/blocs.dart';
import 'package:growerp_core/domains/authenticate/integration_test/auth_test.dart';
import 'package:growerp_core/domains/authenticate/models/authenticate_model.dart';
import 'package:growerp_core/domains/authenticate/models/authenticate_model.freezed.dart';
import 'package:growerp_core/domains/authenticate/models/authenticate_model.g.dart';
import 'package:growerp_core/domains/authenticate/models/models.dart';
import 'package:growerp_core/domains/authenticate/views/confirm_delete_user_comp.dart';
import 'package:growerp_core/domains/authenticate/views/login_dialog.dart';
import 'package:growerp_core/domains/authenticate/views/newCompany_dialog.dart';
import 'package:growerp_core/domains/authenticate/views/views.dart';
import 'package:growerp_core/domains/authenticate/widgets/widgets.dart';
import 'package:growerp_core/domains/catalog/blocs/asset_bloc.dart';
import 'package:growerp_core/domains/catalog/blocs/asset_event.dart';
import 'package:growerp_core/domains/catalog/blocs/asset_state.dart';
import 'package:growerp_core/domains/catalog/blocs/blocs.dart';
import 'package:growerp_core/domains/catalog/blocs/category_bloc.dart';
import 'package:growerp_core/domains/catalog/blocs/category_event.dart';
import 'package:growerp_core/domains/catalog/blocs/category_state.dart';
import 'package:growerp_core/domains/catalog/blocs/product_bloc.dart';
import 'package:growerp_core/domains/catalog/blocs/product_event.dart';
import 'package:growerp_core/domains/catalog/blocs/product_state.dart';
import 'package:growerp_core/domains/catalog/catalog.dart';
import 'package:growerp_core/domains/catalog/integration_test/asset_test.dart';
import 'package:growerp_core/domains/catalog/integration_test/category_test.dart';
import 'package:growerp_core/domains/catalog/integration_test/product_test.dart';
import 'package:growerp_core/domains/catalog/models/asset_model.dart';
import 'package:growerp_core/domains/catalog/models/asset_model.freezed.dart';
import 'package:growerp_core/domains/catalog/models/asset_model.g.dart';
import 'package:growerp_core/domains/catalog/models/category_model.dart';
import 'package:growerp_core/domains/catalog/models/category_model.freezed.dart';
import 'package:growerp_core/domains/catalog/models/category_model.g.dart';
import 'package:growerp_core/domains/catalog/models/models.dart';
import 'package:growerp_core/domains/catalog/models/product_model.dart';
import 'package:growerp_core/domains/catalog/models/product_model.freezed.dart';
import 'package:growerp_core/domains/catalog/models/product_model.g.dart';
import 'package:growerp_core/domains/catalog/views/assetList_form.dart';
import 'package:growerp_core/domains/catalog/views/asset_dialog.dart';
import 'package:growerp_core/domains/catalog/views/categoryList_form.dart';
import 'package:growerp_core/domains/catalog/views/category_dialog.dart';
import 'package:growerp_core/domains/catalog/views/category_files_dialog.dart';
import 'package:growerp_core/domains/catalog/views/productList_form.dart';
import 'package:growerp_core/domains/catalog/views/product_dialog.dart';
import 'package:growerp_core/domains/catalog/views/product_files_dialog.dart';
import 'package:growerp_core/domains/catalog/views/views.dart';
import 'package:growerp_core/domains/catalog/widgets/assetList_header.dart';
import 'package:growerp_core/domains/catalog/widgets/assetList_item.dart';
import 'package:growerp_core/domains/catalog/widgets/categoryList_header.dart';
import 'package:growerp_core/domains/catalog/widgets/categoryList_item.dart';
import 'package:growerp_core/domains/catalog/widgets/productList_header.dart';
import 'package:growerp_core/domains/catalog/widgets/productList_item.dart';
import 'package:growerp_core/domains/catalog/widgets/widgets.dart';
import 'package:growerp_core/domains/chat/blocs/blocs.dart';
import 'package:growerp_core/domains/chat/blocs/chatMessage_bloc.dart';
import 'package:growerp_core/domains/chat/blocs/chatMessage_event.dart';
import 'package:growerp_core/domains/chat/blocs/chatMessage_state.dart';
import 'package:growerp_core/domains/chat/blocs/chatRoom_bloc.dart';
import 'package:growerp_core/domains/chat/blocs/chatRoom_event.dart';
import 'package:growerp_core/domains/chat/blocs/chatRoom_state.dart';
import 'package:growerp_core/domains/chat/chat.dart';
import 'package:growerp_core/domains/chat/integration_test/chat_test.dart';
import 'package:growerp_core/domains/chat/models/chatMessage_model.dart';
import 'package:growerp_core/domains/chat/models/chatMessage_model.freezed.dart';
import 'package:growerp_core/domains/chat/models/chatMessage_model.g.dart';
import 'package:growerp_core/domains/chat/models/chatRoomMember_model.dart';
import 'package:growerp_core/domains/chat/models/chatRoomMember_model.freezed.dart';
import 'package:growerp_core/domains/chat/models/chatRoomMember_model.g.dart';
import 'package:growerp_core/domains/chat/models/chatRoom_model.dart';
import 'package:growerp_core/domains/chat/models/chatRoom_model.freezed.dart';
import 'package:growerp_core/domains/chat/models/chatRoom_model.g.dart';
import 'package:growerp_core/domains/chat/models/models.dart';
import 'package:growerp_core/domains/chat/models/wsChatMessage_model.dart';
import 'package:growerp_core/domains/chat/models/wsChatMessage_model.freezed.dart';
import 'package:growerp_core/domains/chat/models/wsChatMessage_model.g.dart';
import 'package:growerp_core/domains/chat/views/chatRoomListDialog.dart';
import 'package:growerp_core/domains/chat/views/chatRoom_dialog.dart';
import 'package:growerp_core/domains/chat/views/chat_dialog.dart';
import 'package:growerp_core/domains/chat/views/views.dart';
import 'package:growerp_core/domains/chat/widgets/widgets.dart';
import 'package:growerp_core/domains/common/common.dart';
import 'package:growerp_core/domains/common/functions/functions.dart';
import 'package:growerp_core/domains/common/functions/helper_functions.dart';
import 'package:growerp_core/domains/common/functions/persist_functions.dart';
import 'package:growerp_core/domains/common/integration_test/commonTest.dart';
import 'package:growerp_core/domains/common/integration_test/custom_finder.dart';
import 'package:growerp_core/domains/common/integration_test/data.dart';
import 'package:growerp_core/domains/common/models/country_model.dart';
import 'package:growerp_core/domains/common/models/currency_model.dart';
import 'package:growerp_core/domains/common/models/currency_model.freezed.dart';
import 'package:growerp_core/domains/common/models/currency_model.g.dart';
import 'package:growerp_core/domains/common/models/formArguments_model.dart';
import 'package:growerp_core/domains/common/models/menuOption_model.dart';
import 'package:growerp_core/domains/common/models/models.dart';
import 'package:growerp_core/domains/common/models/save_test_model.dart';
import 'package:growerp_core/domains/common/models/save_test_model.freezed.dart';
import 'package:growerp_core/domains/common/models/save_test_model.g.dart';
import 'package:growerp_core/domains/common/models/stats_model.dart';
import 'package:growerp_core/domains/common/models/stats_model.freezed.dart';
import 'package:growerp_core/domains/common/models/stats_model.g.dart';
import 'package:growerp_core/domains/common/models/tabItem_model.dart';
import 'package:growerp_core/domains/common/views/about_form.dart';
import 'package:growerp_core/domains/common/views/changeIp_form.dart';
import 'package:growerp_core/domains/common/views/dashBoard_form.dart';
import 'package:growerp_core/domains/common/views/fatalError_form.dart';
import 'package:growerp_core/domains/common/views/home_form.dart';
import 'package:growerp_core/domains/common/views/pdfFormats.dart';
import 'package:growerp_core/domains/common/views/printing_form.dart';
import 'package:growerp_core/domains/common/views/splash_form.dart';
import 'package:growerp_core/domains/common/views/views.dart';
import 'package:growerp_core/domains/common/widgets/bottom_loader.dart';
import 'package:growerp_core/domains/common/widgets/confirm_dialog.dart';
import 'package:growerp_core/domains/common/widgets/dialogCloseButton.dart';
import 'package:growerp_core/domains/common/widgets/g_drop_down_search.dart';
import 'package:growerp_core/domains/common/widgets/loading_indicator.dart';
import 'package:growerp_core/domains/common/widgets/makeDashboardItem.dart';
import 'package:growerp_core/domains/common/widgets/multi_select.dart';
import 'package:growerp_core/domains/common/widgets/observer.dart';
import 'package:growerp_core/domains/common/widgets/popup_dialog.dart';
import 'package:growerp_core/domains/common/widgets/popup_dialog_no_scaf.dart';
import 'package:growerp_core/domains/common/widgets/snackBar.dart';
import 'package:growerp_core/domains/common/widgets/top_app.dart';
import 'package:growerp_core/domains/common/widgets/widgets.dart';
import 'package:growerp_core/domains/domains.dart';
import 'package:growerp_core/domains/findoc/blocs/blocs.dart';
import 'package:growerp_core/domains/findoc/blocs/cart_bloc.dart';
import 'package:growerp_core/domains/findoc/blocs/cart_event.dart';
import 'package:growerp_core/domains/findoc/blocs/cart_state.dart';
import 'package:growerp_core/domains/findoc/blocs/finDoc_bloc.dart';
import 'package:growerp_core/domains/findoc/blocs/finDoc_event.dart';
import 'package:growerp_core/domains/findoc/blocs/finDoc_state.dart';
import 'package:growerp_core/domains/findoc/findoc.dart';
import 'package:growerp_core/domains/findoc/integration_test/orderTest.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_item_model.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_item_model.freezed.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_item_model.g.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_model.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_model.freezed.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_model.g.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_status_val_model.dart';
import 'package:growerp_core/domains/findoc/models/finDoc_type_model.dart';
import 'package:growerp_core/domains/findoc/models/models.dart';
import 'package:growerp_core/domains/findoc/views/finDocList_form.dart';
import 'package:growerp_core/domains/findoc/views/finDoc_dialog.dart';
import 'package:growerp_core/domains/findoc/views/gantt_form.dart';
import 'package:growerp_core/domains/findoc/views/payment_dialog.dart';
import 'package:growerp_core/domains/findoc/views/reservation_dialog.dart';
import 'package:growerp_core/domains/findoc/views/shipmentReceive_dialog.dart';
import 'package:growerp_core/domains/findoc/views/views.dart';
import 'package:growerp_core/domains/findoc/widgets/finDocList_header.dart';
import 'package:growerp_core/domains/findoc/widgets/finDocList_item.dart';
import 'package:growerp_core/domains/findoc/widgets/widgets.dart';
import 'package:growerp_core/domains/integration_test.dart';
import 'package:growerp_core/domains/tasks/bloc/task_bloc.dart';
import 'package:growerp_core/domains/tasks/bloc/task_event.dart';
import 'package:growerp_core/domains/tasks/bloc/task_state.dart';
import 'package:growerp_core/domains/tasks/integration_test/taskTest.dart';
import 'package:growerp_core/domains/tasks/models/models.dart';
import 'package:growerp_core/domains/tasks/models/taskStatus_model.dart';
import 'package:growerp_core/domains/tasks/models/task_model.dart';
import 'package:growerp_core/domains/tasks/models/task_model.freezed.dart';
import 'package:growerp_core/domains/tasks/models/task_model.g.dart';
import 'package:growerp_core/domains/tasks/models/timeEntry_model.dart';
import 'package:growerp_core/domains/tasks/models/timeEntry_model.freezed.dart';
import 'package:growerp_core/domains/tasks/models/timeEntry_model.g.dart';
import 'package:growerp_core/domains/tasks/tasks.dart';
import 'package:growerp_core/domains/tasks/views/taskList_form.dart';
import 'package:growerp_core/domains/tasks/views/task_dialog.dart';
import 'package:growerp_core/domains/tasks/views/timeEntryList_dialog.dart';
import 'package:growerp_core/domains/tasks/views/timeEntry_dialog.dart';
import 'package:growerp_core/domains/tasks/views/views.dart';
import 'package:growerp_core/domains/tasks/widgets/taskList_header.dart';
import 'package:growerp_core/domains/tasks/widgets/taskList_item.dart';
import 'package:growerp_core/domains/tasks/widgets/timeEntryList_header.dart';
import 'package:growerp_core/domains/tasks/widgets/timeEntryList_item.dart';
import 'package:growerp_core/domains/tasks/widgets/widgets.dart';
import 'package:growerp_core/domains/users/blocs/blocs.dart';
import 'package:growerp_core/domains/users/blocs/company_bloc.dart';
import 'package:growerp_core/domains/users/blocs/company_event.dart';
import 'package:growerp_core/domains/users/blocs/company_state.dart';
import 'package:growerp_core/domains/users/blocs/user_bloc.dart';
import 'package:growerp_core/domains/users/blocs/user_event.dart';
import 'package:growerp_core/domains/users/blocs/user_state.dart';
import 'package:growerp_core/domains/users/integration_test/companyTest.dart';
import 'package:growerp_core/domains/users/integration_test/userTest.dart';
import 'package:growerp_core/domains/users/models/address_model.dart';
import 'package:growerp_core/domains/users/models/address_model.freezed.dart';
import 'package:growerp_core/domains/users/models/address_model.g.dart';
import 'package:growerp_core/domains/users/models/company_model.dart';
import 'package:growerp_core/domains/users/models/company_model.freezed.dart';
import 'package:growerp_core/domains/users/models/company_model.g.dart';
import 'package:growerp_core/domains/users/models/models.dart';
import 'package:growerp_core/domains/users/models/user_group_model.dart';
import 'package:growerp_core/domains/users/models/user_model.dart';
import 'package:growerp_core/domains/users/models/user_model.freezed.dart';
import 'package:growerp_core/domains/users/models/user_model.g.dart';
import 'package:growerp_core/domains/users/users.dart';
import 'package:growerp_core/domains/users/views/address_dialog.dart';
import 'package:growerp_core/domains/users/views/company_form.dart';
import 'package:growerp_core/domains/users/views/userList_form.dart';
import 'package:growerp_core/domains/users/views/user_dialog.dart';
import 'package:growerp_core/domains/users/views/user_form.dart';
import 'package:growerp_core/domains/users/views/views.dart';
import 'package:growerp_core/domains/users/widgets/userListItem.dart';
import 'package:growerp_core/domains/users/widgets/userList_header.dart';
import 'package:growerp_core/domains/users/widgets/widgets.dart';
import 'package:growerp_core/domains/warehouse/bloc/bloc.dart';
import 'package:growerp_core/domains/warehouse/bloc/location_bloc.dart';
import 'package:growerp_core/domains/warehouse/bloc/location_event.dart';
import 'package:growerp_core/domains/warehouse/bloc/location_state.dart';
import 'package:growerp_core/domains/warehouse/integration_test/warehouseTest.dart';
import 'package:growerp_core/domains/warehouse/models/location_model.dart';
import 'package:growerp_core/domains/warehouse/models/location_model.freezed.dart';
import 'package:growerp_core/domains/warehouse/models/location_model.g.dart';
import 'package:growerp_core/domains/warehouse/models/models.dart';
import 'package:growerp_core/domains/warehouse/views/locationList_form.dart';
import 'package:growerp_core/domains/warehouse/views/location_dialog.dart';
import 'package:growerp_core/domains/warehouse/views/views.dart';
import 'package:growerp_core/domains/warehouse/warehouse.dart';
import 'package:growerp_core/domains/warehouse/widgets/locationList_header.dart';
import 'package:growerp_core/domains/warehouse/widgets/locationList_item.dart';
import 'package:growerp_core/domains/warehouse/widgets/widgets.dart';
import 'package:growerp_core/domains/website/blocs/blocs.dart';
import 'package:growerp_core/domains/website/blocs/content_bloc.dart';
import 'package:growerp_core/domains/website/blocs/content_event.dart';
import 'package:growerp_core/domains/website/blocs/content_state.dart';
import 'package:growerp_core/domains/website/blocs/website_bloc.dart';
import 'package:growerp_core/domains/website/blocs/website_event.dart';
import 'package:growerp_core/domains/website/blocs/website_state.dart';
import 'package:growerp_core/domains/website/integration_test.dart/website_test.dart';
import 'package:growerp_core/domains/website/models/content_model.dart';
import 'package:growerp_core/domains/website/models/content_model.freezed.dart';
import 'package:growerp_core/domains/website/models/content_model.g.dart';
import 'package:growerp_core/domains/website/models/models.dart';
import 'package:growerp_core/domains/website/models/obsidian_model.dart';
import 'package:growerp_core/domains/website/models/obsidian_model.freezed.dart';
import 'package:growerp_core/domains/website/models/obsidian_model.g.dart';
import 'package:growerp_core/domains/website/models/website_model.dart';
import 'package:growerp_core/domains/website/models/website_model.freezed.dart';
import 'package:growerp_core/domains/website/models/website_model.g.dart';
import 'package:growerp_core/domains/website/views/views.dart';
import 'package:growerp_core/domains/website/views/website_category_dialog.dart';
import 'package:growerp_core/domains/website/views/website_content_dialog.dart';
import 'package:growerp_core/domains/website/views/website_form.dart';
import 'package:growerp_core/domains/website/website.dart';
import 'package:growerp_core/extensions.dart';
import 'package:growerp_core/services/api_result.dart';
import 'package:growerp_core/services/api_result.freezed.dart';
import 'package:growerp_core/services/chat_server.dart';
import 'package:growerp_core/services/dio_client.dart';
import 'package:growerp_core/services/jsonConverters.dart';
import 'package:growerp_core/services/network_exceptions.dart';
import 'package:growerp_core/services/network_exceptions.freezed.dart';
import 'package:growerp_core/styles/themes.dart';
import 'package:growerp_core/templates/@templates.dart';
import 'package:growerp_core/templates/appBarTitle.dart';
import 'package:growerp_core/templates/displayMenuOption.dart';
import 'package:growerp_core/templates/imageButtons.dart';
import 'package:growerp_core/templates/myDrawer_widget.dart';
import 'package:growerp_core/templates/myNavigationRail_widget.dart';