growerp_core library

Classes

AboutForm
AboutFormHeader
AppBlocObserver
AssetBloc
AssetDelete
AssetEvent
AssetFetch
AssetState
AssetUpdate
AuthBloc
Authbloc controls the connection to the backend
AuthChangePassword
AuthEvent
AuthLoad
AuthLoggedOut
AuthLogin
AuthRegisterCompanyAndAdmin
AuthRegisterUserEcommerce
AuthResetPassword
AuthState
AuthTest
BottomLoader
CategoryBloc
CategoryDelete
CategoryDownload
CategoryEvent
CategoryFetch
CategoryState
CategoryUpdate
CategoryUpload
ChangeIpForm
ChatDialog
ChatMessageBloc
ChatMessageEvent
ChatMessageFetch
ChatMessageReceiveWs
ChatMessageSendWs
ChatMessageState
ChatRoomBloc
ChatRoomDelete
ChatRoomDialog
ChatRoomDialogState
ChatRoomEvent
ChatRoomFetch
ChatRoomListDialog
ChatRoomListDialogsState
ChatRoomReceiveWsChatMessage
ChatRoomState
ChatRoomUpdate
ChatServer
ChatState
ChatTest
CommonTest
CompanyBloc
CompanyDelete
CompanyEvent
CompanyFetch
CompanyState
CompanyUpdate
CoreLocalizations
Callers can lookup localized strings with an instance of CoreLocalizations returned by CoreLocalizations.of(context).
CreditDebitButton
CreditDebitButtonState
DashBoardForm
DialogCloseButton
DisplayMenuOption
FatalErrorForm
FormArguments
HelperFunctions
HomeForm
HomeFormState
ImageButtons
KeyDioCacheInterceptor
KeyInterceptor
ListDetail
LoadingIndicator
LocationBloc
LocationDelete
LocationEvent
LocationFetch
LocationState
LocationUpdate
LoginDialog
LoginDialogState
item on the main menu, containing tabitems on a lower level.
MultiSelect<T>
MultiSelectState<T>
NewCompanyDialog
PersistFunctions
ProductBloc
Bloc to access Product information
ProductDelete
delete an existing product
ProductDownload
initiate a download of products by email.
ProductEvent
ProductFetch
Get A product list with optional selection criteria
ProductRentalOccupancy
get the rental usage of related assets for rental purposes
ProductState
ProductUpdate
update an existing product
ProductUpload
start a Product import
SendResetPasswordDialog
SplashForm
TabItem
menu items at the second level. at the top for web, at the bottom for mobile
TaskBloc
TaskDialog
TaskDialogState
TaskEvent
TaskFetch
TaskListForm
TaskListHeader
TaskListItem
TasksList
TasksListState
TaskState
TaskTest
TaskTimeEntryDelete
TaskTimeEntryUpdate
TaskUpdate
ThemeBloc
ThemeEvent
ThemeModeGet
ThemeState
ThemeSwitch
TimeEntryDialog
TimeEntryDialogState
TimeEntryListDialog
TimeEntryListHeader
TimeEntryListItem
TimeEntryListState
TopApp
UserBloc
UserDelete
UserEvent
UserFetch
UserState
UserUpdate

Functions

appBarTitle(BuildContext context, Authenticate authenticate, String title, bool isPhone) Widget
assetDroppable<E>(Duration duration) → EventTransformer<E>
buildDioClient({Duration timeout = const Duration(seconds: 10), String? overrideUrl}) Future<Dio>
https://kamaravichow.medium.com/caching-with-dio-hive-in-flutter-e630ac5fc777
categoryDroppable<E>(Duration duration) → EventTransformer<E>
chatMessageDroppable<E>(Duration duration) → EventTransformer<E>
chatRoomDroppable<E>(Duration duration) → EventTransformer<E>
companyDroppable<E>(Duration duration) → EventTransformer<E>
confirmDeleteUserComp(BuildContext context, UserGroup userGroup) → dynamic
dialog returns true when company delete, false when not, null when cancelled
confirmDialog(BuildContext context, String title, String content) → dynamic
dialog returns true when continue, false when cancelled
coreRoute(RouteSettings settings) Route
createJsonObject<T>(T object, T Function(String json) toJson()) String
getJsonObject<T>(String result, T fromJson(Map<String, dynamic> json)) → T
locationDroppable<E>(Duration duration) → EventTransformer<E>
lookupCoreLocalizations(Locale locale) CoreLocalizations
makeDashboardItem(String key, BuildContext context, MenuOption menuOption, List<String> subTitles) Card
myDrawer(BuildContext context, Authenticate authenticate, bool isPhone, List<MenuOption> menu) Widget?
myNavigationRail(BuildContext context, Authenticate authenticate, Widget widget, int menuIndex, List<MenuOption> menu) Widget
popUpDialog({required BuildContext context, required List<Widget> children, required Key scaffoldkey, String title = '', double height = 400, double width = 400, Key key = const Key('popUp')}) Widget
popUpDialogNoScaffold({required BuildContext context, required List<Widget> children, String title = '', double height = 400, double width = 400, Key key = const Key('popUp')}) Widget
productDroppable<E>(Duration duration) → EventTransformer<E>
snackBar(BuildContext context, Color colors, String message, {int? seconds}) SnackBar
taskDroppable<E>(Duration duration) → EventTransformer<E>
userDroppable<E>(Duration duration) → EventTransformer<E>