core/core library
library core;
Classes
- GEngine
- GSInterface
- GetInterface allows any auxiliary package to be merged into the "Get" class through extensions
Enums
- SmartManagement
- GState by default disposes unused controllers from memory, Through different behaviors. SmartManagement.full SmartManagement.full is the default one. Dispose classes that are not being used and were not set to be permanent. In the majority of the cases you will want to keep this config untouched. If you new to GState then don't change this. SmartManagement.onlyBuilder only controllers started in init: or loaded into a Binding with GS.lazyPut() will be disposed. If you use GS.put() or GS.putAsync() or any other approach, SmartManagement will not have permissions to exclude this dependency. With the default behavior, even widgets instantiated with "GS.put" will be removed, unlike SmartManagement.onlyBuilders. SmartManagement.keepFactoryJust like SmartManagement.full, it will remove it's dependencies when it's not being used anymore. However, it will keep their factory, which means it will recreate the dependency if you need that instance again.
Properties
- GS → _GSImpl
-
final
Functions
-
ambiguate<
T> (T? value) → T? - This allows a value of type T or T? to be treated as a value of type T?.
-
defaultLogWriterCallback(
String value, {bool isError = false}) → void - default logger from GState
Typedefs
- LogWriterCallback = void Function(String text, {bool isError})
- VoidCallback from logs
-
ValueUpdater<
T> = T Function()