redstonex library

Classes

AfterPropertiesSet
Mark a reflectable class can execute method after construct and property set.
AppPackageHelper
A package information function set.
Autowired
Autowired class field property in Reflectable
BaseDao
Base dao interface.
BaseEntity<V>
Base entity properties
BaseRepository<T extends FloorDatabase, R>
Base repository.
BeanDefinition
Holder mirror definition by parsing ClassMirror and MethodMirror and VariableMirror.
BeanDefinitionHolder
Holder mirror definition and named _name instance.
BeanDefinitionHolderFactory
Create instance by BeanDefinition
BuiltinInterceptors
Get built-in interceptor of fixed order for dio.
BuiltinLoadingEvent
Built-in loading event.
BuiltinReflectableConfiguration
Builtin definition that must initialize.
BuiltinWorkerInitializer
Component
Put class instance to self-container when marking class metadata.
ComponentsConfiguration
Put class's method return instance marked Component to self-container when marking class metadata.
CtrlStatus
Ctrl status.
DefExceptionInterceptor
Built-in request context interceptor.
DefGlobalConfigInitializer
DelayedUtils
A delay execute util
Depends
Provide simple semantic API to find dependency in container.
Dios
A Dio configuration creator.
DirectoryHelper
A directory function set.
Dispatcher
A initial quickly GetX routes of GetPage class.
ErrorContextInterceptor
Built-in request context interceptor.
EventsBus
An event bus simple implement.
GlobalAppConfigs
App global configuration.
GlobalConfig
A global configuration.
GlobalDatabaseConfigs
Database global configuration.
GlobalHttpOptionConfigs
Global base option of http
GlobalLogConfigs
App default log configuration
HttpClient
A http proxy of access data.
I10nBaseExceptionText
An app exception multi language error message.
IdentifyUtils
A multifarious id generator.
LoadableViewCtrl
A loaded view ctrl.
Loggers
A log manager.
MetadataBeanUtils
Mirror-Metadata relation parse util.
MetadataUtils
Reflectable metadata util.
MirrorDefinitionUtils
Mirror definition judgement util.
MobileDeviceHelper
A device information function set.
NamedReference
Naming class container name in Reflectable Self-Container
NetworkHelper
A network function set.
NonloadableViewCtrl
A non loaded view ctrl.
OnCreateCallback
Fired when the database has been just created with version. All actions are run within a single transaction.
OnOpenCallback
Fired when the database has successfully been opened.
OnUpgradeCallback
Fired when the database has finished upgrading from startVersion to endVersion. All actions are run within a single transaction.
PageableDataViewCtrl<T>
Refreshable data view ctrl.
PostConstruct
Mark a reflectable class can execute method after construct.
Provides
Provide simple semantic API to put dependency to GetX container.
RedStoneDio
An encapsulated dio
RedStoneDioOption
A redstone dio option of creating.
RedStoneInterceptor
A interceptor wrapper
RedstoneLogger
An encapsulated logger
ReflectionsUtils
A GetX singleton container utils.
Reflector
Almost all capability meta reflector of Reflectable
RefreshableDataViewCtrl<T>
Refreshable data view ctrl.
Request
A http request
RequestContext
Http request context.
RequestContextInterceptor
Built-in request context interceptor.
RequestLoadingInterceptor
Http request interceptor for loading.
ResponseContextInterceptor
Built-in request context interceptor.
RouteGroupHolder
A named navigation of GetX route group.
RouteHolder
A named navigation of GetX route.
RoutesStatistics
A singleton Initial statistics information.
RouteUtils
A GetX route, navigation utils.
SelfContainer
Instance container following the application lifecycle.
SelfReflectable
Enable reflectable:
SimpleNonloadedViewCtrl
A simple non loaded view ctrl implement. Provide default life cycle method implement.
SingleDataViewCtrl<T>
Single data view ctrl.
StatelessCtrlView<C extends GetxController>
Simple stateless ctrl view.
StaticMethodInvoker
Invoke any class's static method with StaticReflection or Component
StaticReflection
SystemChromeUtils
A SystemChrome function encapsulation tool set
ViewBaseProperties
Definite view base properties.
ViewCtrl
Define view ctrl basic information.
ViewCtrlLifeCycle
Define ViewCtrl base life cycle.
ViewSingleCtrlGet<C extends GetxController>
WithoutBeanDefinitionHolder
Holder mirror definition and named _name instance.
WithoutMirrorDefinitionHolderFactory
Create instance by BeanDefinition

Enums

BeanInitialPhase
BuiltinLoadingEventType
Built-in loading event type.
HttpMethod
Http method enum

Mixins

CopySyntax
Define copyWith() method stand syntax.
CtrlMultipartDataLoadingFlowMixin<T>
ctrl load data flow control
CtrlMultipartDataProcessingFlowMixin<T>
Ctrl process loaded data flow control.
CtrlSingleDataLoadingFlowMixin<T>
ctrl load data flow control
CtrlSingleDataProcessingFlowMixin<T>
Ctrl process loaded data flow control.
CtrlStatusMixin
Provide LoadableViewCtrl running status of data, for example, empty, loading, error, etc.
HandleSyntax
Define handle method stand syntax.
InitializeSyntax
Define initialize method stand syntax.
LoadMoreSyntax<E>
Define loadMore method stand syntax.
Navigation mixin.
OfSyntax
Define of method stand syntax.
RefreshableSyntax<E>
Define refresh method stand syntax.
RegisterSyntax
Define register method stand syntax.
ToEntitySyntax<E>
Define toEntity method stand syntax.
ToValSyntax<V>
Define toVal method stand syntax.

Extensions

DelayedMixin on DelayedUtils
An extension for DelayedUtils
ListExt on List
Extension for dart List
StringExt on String
Extension for dart String

Constants

reflector → const Reflector

Typedefs

Callable<R> = R Function()
define returnable parameter R type function.
PredicateExecute = bool Function(int oldVersion, int newVersion)
Predicate current database version whether execute OnUpgradeCallback.onUpgrade function.

Exceptions / Errors

AppException
App abstract/base exception.
BadRequestException
Default http exception.
CommonException
Common app abstract/base exception.
NetworkException
Default http exception.
NoSuchBeanDefinitionException
NotFoundException
Default http exception.
ServerException
Default http exception.
UnauthorisedException
Default http exception.