get_core/get_core library
This library provides the core functionality of the Refreshed state management package. It exports essential components such as the Flutter engine integration, interfaces, main functionalities, logging utilities, smart management features, and various type definitions.
Classes
- Engine
- A utility class for accessing the engine instance.
- GetInterface
- A contract defining the interface for interacting with the "Get" class, enabling auxiliary packages to extend its functionality through extensions.
Enums
- SmartManagement
- Refreshed by default disposes unused controllers from memory, Through different behaviors.
Properties
- Get → _GetImpl
-
Global instance of GetX controller.
final
Functions
-
ambiguate<
T> (T? value) → T? -
Allows a value of type
T
orT?
to be treated as a value of typeT?
. -
defaultLogWriterCallback(
String value, {bool isError = false}) → void - The default logger function used by Refreshed for writing logs.
Typedefs
- LogWriterCallback = void Function(String text, {bool isError})
- A typedef representing a callback function for writing logs, typically used in the context of Refreshed.
-
ValueUpdater<
T> = T Function() - A function type representing a value updater.