utils library

Get utils is a set of tools that allows you to access high-level APIs and obtain validation tools for Flutter and Refreshed

Classes

DeepCollectionEquality
A deep equality implementation for collections.
DefaultEquality<E>
A default equality implementation.
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.
GetMicrotask
A utility class for executing microtasks sequentially.
GetPlatform
Provides platform-specific information and utilities.
GetQueue<T>
A utility class for managing a queue of asynchronous jobs.
GetUtils
Utility methods
IdentityEquality<E>
Equality of objects that compares only the identity of the objects.
IEquality<E>
A generic equality relation on objects.
IterableEquality<E>
Equality on iterables.
ListEquality<E>
Equality on lists.
MapEquality<K, V>
Equality on maps.
SetEquality<E>
Equality of sets.
UnorderedIterableEquality<E>
Equality of the elements of two iterables without considering order.

Enums

RowStyle
An enumeration representing different styles for rows.
SmartManagement
Refreshed by default disposes unused controllers from memory, Through different behaviors.
SnackbarStatus
Indicates the status of a snackbar.
SnackHoverState
Indicates the state when the mouse enters or exits.
SnackPosition
Indicates the position where a snack is displayed.
SnackStyle
Indicates the style of a snack.

Mixins

Equality
A mixin for implementing equality based on a list of properties.

Extensions

ContextExtension on BuildContext
Extension providing additional functionality for BuildContext.
DynamicExtension on dynamic
Extension on dynamic to provide utility methods for dynamic objects.
LocalesIntl on GetInterface
Extension methods for handling internationalization within GetX.
LoopEventsExtension on GetInterface
Extension providing additional loop event methods for GetInterface.
TranslationExtension on String
Extension providing localization capabilities to strings.

Properties

Get → _GetImpl
Global instance of GetX controller.
final

Functions

ambiguate<T>(T? value) → T?
Allows a value of type T or T? to be treated as a value of type T?.
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.
PrintFunctionCallback<T> = void Function(String prefix, T value, String info, {bool? isError})
Callback type definition for a function that prints logs with optional error indication.
ValueUpdater<T> = T Function()
A function type representing a value updater.