get_smart library

Classes

AlwaysBouncingScrollPhysics
Scroll physics that always lets the user scroll and bounce back from the edge.
AssetBundlePictureKey
Key for the picture obtained by an AssetPicture or ExactAssetPicture.
AssetBundlePictureProvider
A subclass of PictureProvider that knows about AssetBundles.
AuthenticationChallenge
A single challenge in a WWW-Authenticate header, parsed as per RFC 2617.
AutoSizeGroup
Controller to synchronize the fontSize of multiple AutoSizeTexts.
AutoSizeText
Flutter widget that automatically resizes text to fit perfectly within its bounds.
Base64Transform
BaseGetController
Basic Controller functionality for busy state management
Bidi
This provides utility methods for working with bidirectional text. All of the methods are static, and are organized into a class primarily to group them together for documentation and discoverability.
BidiFormatter
Bidi stands for Bi-directional text. According to Wikipedia: Bi-directional text is text containing text in both text directionalities, both right-to-left (RTL) and left-to-right (LTR). It generally involves text containing different types of alphabets, but may also refer to boustrophedon, which is changing text directionality in each row.
Bindings
Bindings should be extended or implemented. When using GetMaterialApp, all GetPages and navigation methods (like Get.to()) have a binding property that takes an instance of Bindings to manage the dependencies() (via Get.put()) for the Route you are opening.
BindingsBuilder<T>
Simplifies Bindings generation from a single callback. To avoid the creation of a custom Binding instance per route.
Blur
BoolList
A space-efficient list of boolean values.
BoolTransform
BottomBar
BottomBarBlank
BoxView
CacheCompatibilityTester
Tests whether a DrawableRoot should be cache invalidated given old and new external parameter changes.
CanonicalizedMap<C, K, V>
A map whose keys are converted to canonical values of type C.
CaseInsensitiveEquality
String equality that's insensitive to differences in ASCII case.
CaseInsensitiveMap<V>
A map from case-insensitive strings to values.
ChunkedCodingCodec
A codec that encodes and decodes the chunked transfer coding.
ChunkedCodingDecoder
A converter that decodes byte arrays into chunks with size tags.
ChunkedCodingEncoder
A converter that encodes byte arrays into chunks with size tags.
CircularProgress
Clickable
ColorTransform
CombinedIterableView<T>
A view of several iterables combined sequentially into a single iterable.
CombinedListView<T>
A view of several lists combined into a single list.
CombinedMapView<K, V>
Returns a new map that represents maps flattened into a single map.
CrossFade
CupertinoSliverSwipeRefresh
A sliver widget implementing the iOS-style pull to refresh content control.
CustomTransition
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive manner.
DateTransform
DateUnit
DeepCollectionEquality
Deep equality on collections.
DefaultEquality<E>
Equality of objects that compares only the natural equality of the objects.
DefaultSvgTheme
The SVG theme to apply to descendant SvgPicture widgets which don't have explicit theme values.
DelegatingIterable<E>
An Iterable that delegates all operations to a base iterable.
DelegatingList<E>
A List that delegates all operations to a base list.
DelegatingMap<K, V>
A Map that delegates all operations to a base map.
DelegatingQueue<E>
A Queue that delegates all operations to a base queue.
DelegatingSet<E>
A Set that delegates all operations to a base set.
DisposableInterface
Div
DotsDecorator
DotsIndicator
DottedPageView
DoubleTransform
Drawable
Base interface for vector drawing.
DrawableDefinitionServer
Contains reusable drawing elements that can be referenced by a String ID.
DrawableGradient
Basic information describing a gradient.
DrawableGroup
Represents a group of drawing elements that may share a common transform, stroke, or fill.
DrawableLinearGradient
Represents the data needed to create a Gradient.linear.
DrawablePaint
A wrapper class for Flutter's Paint class.
DrawableParent
A Drawable that can have child Drawables and DrawableStyle.
DrawableRadialGradient
Represents the information needed to create a Gradient.radial.
DrawableRasterImage
A raster image (e.g. PNG, JPEG, or GIF) embedded in the drawable.
DrawableRoot
The root element of a drawable.
DrawableShape
Represents a drawing element that will be rendered to the canvas.
DrawableStyle
Styling information for vector drawing.
DrawableStyleable
A Drawable that can have a DrawableStyle applied to it.
DrawableText
A Drawable for text objects.
DrawableTextStyle
A wrapper class for Flutter's TextStyle class.
DrawableViewport
Contains the viewport size and offset for a Drawable.
DynamicSourceGetController<T>
Enumerable<T>
EnumTransform<Object extends Enumerable, JSON>
Equality<E>
A generic equality relation on objects.
EqualityBy<E, F>
Equality of objects based on derived values.
EqualityMap<K, V>
A Map whose key equality is determined by an Equality object.
EqualitySet<E>
A Set whose key equality is determined by an Equality object.
ExactAssetPicture
Fetches a picture from an AssetBundle, associating it with the given scale.
FastList<T>
FilePicture
Decodes the given File object as a picture, associating it with the given scale.
FloatFormatter
Formatter
FormData
FullLifeCycleController
GetAppBar
GetAppLifecycle
States that an application can be in.
GetBar
GetBottomSheet
GetBuilder<T extends GetxController>
GetBuilderState<T extends GetxController>
GetButton
The factory class for buttons whose style are defined by a ButtonStyle object. Buttons included are:
GetCipher
GetColors
GetConnect
GetConnectInterface
GetController
Multi purpose Controller implementation of GetxController
GetCupertinoApp
GetDelegate
GetDismissible
GetDismissibleState
GetDivider
GetFile
GetFilterableTextField<T extends Comparable>
A wrapper of GetTextField with filterable suggestion features.
GetFilterableTextFieldState<T extends Comparable>
GetFont
Font extension
GetHttpClient
GetIcons
GetInformationParser
GetInstance
GetInteractiveViewer
A widget that enables pan and zoom interactions with its child.
GetInterface
GetInterface allows any auxiliary package to be merged into the "Get" class through extensions
GetIsolate
GetIsolateEntry
GetLifeCycle
GetListView
A scrollable list of widgets arranged linearly.
GetLocalizations
Platform localization to add multi-language support
GetLocalizationsDelegate
Platform localization delegate to trigger language change in the device
GetLogger
GetMaterialApp
GetMaterialController
GetMicrotask
GetMiddleware
The Page Middlewares. The Functions will be called in this order (( redirect -> onPageCalled -> onBindingsStart -> onPageBuildStart -> onPageBuilt -> onPageDispose ))
GetModalBottomSheetRoute<T>
GetNavConfig
This config enables us to navigate directly to a sub-url
GetNavigator
GetNotifier<T>
GetObject
GetObserver
GetPage<T>
GetPageRoute<T>
GetPlatform
GetPlatformChannel
GetPopupMenu<T extends Object>
Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected. The value passed to onSelected is the value of the selected menu item.
GetPrefs
GetQueue
GetRequestCancel
GetRequestParcel<T, R>
GetResponsiveView<T>
Extend this widget to build responsive view. this widget contains the screen property that have all information about the screen size and type. You have two options to build it. 1- with builder method you return the widget to build. 2- with methods desktop, tablet,phone, watch. the specific method will be built when the screen type matches the method when the screen is ScreenType.Tablet the tablet method will be exuded and so on. Note if you use this method please set the property alwaysUseBuilder to false With settings property you can set the width limit for the screen types.
GetResponsiveWidget<T extends GetLifeCycleBase?>
GetResult<T>
GetRouteObserver
Route observer for listening any changes happening in the navigation.
GetRouterOutlet
GetScaffold
A smart scaffold. All individual pages should be wrapped in it.
GetSearchDelegate
GetSliverList
A scrollable list of widgets arranged linearly.
GetSnackBar
GetSnackBarState
GetSocket
GetStream<T>
GetStream is the lightest and most performative way of working with events at Dart. You sintaxe is like StreamController, but it works with simple callbacks. In this way, every event calls only one function. There is no buffering, to very low memory consumption. event add will add a object to stream. addError will add a error to stream. listen is a very light StreamSubscription interface. Is possible take the last value with value property.
GetStreamTransformation<T>
GetTextField
A wrapper of TextFormField with extended capabilities
GetTheme
Theme extension
GetTile
GetTileData
GetTileDivider
GetTileRow
GetTimer
GetTransform<T extends Mappable>
GetUtils
GetView<T>
GetView is a great way of quickly access your Controller without having to call Get.find
GetWebAPI
GetWidget<S extends GetLifeCycleBase?>
GetWidget is a great way of quickly access your individual Controller without having to call Get.find
GetX<T extends DisposableInterface>
GetxController
GetxService
Unlike GetxController, which serves to control events on each of its pages, GetxService is not automatically disposed (nor can be removed with Get.delete()). It is ideal for situations where, once started, that service will remain in memory, such as Auth control for example. Only way to remove it is Get.reset().
GetXState<T extends DisposableInterface>
GoogleFonts
Provides configuration, and static methods to obtain TextStyles and TextThemes.
GraphQLResponse<T>
HeaderValue
HeapPriorityQueue<E>
Heap based priority queue.
IdentityEquality<E>
Equality of objects that compares only the identity of the objects.
IndexTrackingGetController
Initializer
Interface: Additional actions that should be implemented by specialised Controllers
InstanceInfo
InternalFinalCallback<T>
Special callable class to keep the contract of a regular method, and avoid overrides if you extend the class that uses it, as Dart has no final methods. Used in DisposableInterface to avoid the danger of overriding onStart.
IntFormatter
Intl
The Intl class provides a common entry point for internationalization related tasks. An Intl instance can be created for a particular locale and used to create a date format via anIntl.date(). Static methods on this class are also used in message formatting.
IntTransform
IterableEquality<E>
Equality on iterables.
IterableZip<T>
Iterable that iterates over lists of values from other iterables.
LightSubscription<T>
LinearProgress
ListEquality<E>
Equality on lists.
ListSlice<E>
A list view of a range of another list.
MapEquality<K, V>
Equality on maps.
MapKeySet<E>
An unmodifiable Set view of the keys of a Map.
Mappable
Mapper
MapValueSet<K, V>
Creates a modifiable Set view of the values of a Map.
MediaType
A class representing an HTTP media type, as used in Accept and Content-Type headers.
MemoryPicture
Decodes the given String buffer as a picture, associating it with the given scale.
MessageView
MicroMoney
Used primarily for currency formatting, this number-like class stores millionths of a currency unit, typically as an Int64.
MiddlewareRunner
MiniStream<T>
MiniSubscription<T>
MixinBuilder<T extends GetxController>
MultiEquality<E>
Combines several equalities into a single equality.
MultipartFile
MultipleFutureGetController
Provides functionality for a Controller to run and fetch data using multiple future
MultipleStreamGetController
Provides functionality for a Controller to run and fetch data using multiple streams
NetworkPicture
Fetches the given URL from the network, associating it with the given scale.
NetworkPictureKeyData
The PictureKey.keyData for a NetworkPicture.
Node<T>
NonGrowableListMixin<E>
Mixin class that implements a throwing version of all list operations that change the List's length.
NonGrowableListView<E>
A fixed-length list.
NumberFormat
Provides the ability to format a number in a locale-specific way.
Obx
The simplest reactive widget in GetX.
ObxState
ObxValue<T extends RxInterface>
Similar to Obx, but manages a local state. Pass the initial data in constructor. Useful for simple local states, like toggles, visibility, themes, button states, etc. Sample: ObxValue((data) => Switch( value: data.value, onChanged: (flag) => data.value = flag, ), false.obs, ),
ObxWidget
The ObxWidget is the base for all GetX reactive widgets
OneFramePictureStreamCompleter
Manages the loading of dart:ui.Picture objects for static PictureStreams (those with only one frame).
PageRedirect
PathDecoded
PictureConfiguration
Configuration information passed to the PictureProvider.resolve method to select a specific picture.
PictureHandle
An opaque handle used by PictureInfo to track the lifecycle of a Picture.
PictureInfo
Represents information about a ui.Picture to be drawn on a canvas.
PictureKey<T>
An immutable key representing the current state of a PictureProvider.
PictureProvider<T, U>
Identifies a picture without committing to the precise final asset. This allows a set of pictures to be identified and for the precise picture to later be resolved based on the environment, e.g. the device pixel ratio.
PictureStream
A handle to an image resource.
PictureStreamCompleter
Base class for those that manage the loading of dart:ui.Picture objects for PictureStreams.
PrintFormat
PriorityQueue<E>
A priority queue is a priority based work-list of elements.
ProgressButton
ProgressSnackBar
QueueList<E>
A class that efficiently implements both Queue and List.
RawRepresentable<RawValue>
Response<T>
Responsive
ResponsiveScreen
ResponsiveScreenSettings
RoundedHandle
RouterOutlet<TDelegate extends RouterDelegate<T>, T extends Object>
RouterOutletState<TDelegate extends RouterDelegate<T>, T extends Object>
Routing
Rx<T>
Foundation class used for custom Types outside the common native Dart types. For example, any custom "Model" class, like User().obs will use Rx as wrapper.
RxBool
RxBoolTransform
RxController
RxDouble
RxDoubleTransform
RxInt
RxInterface<T>
This class is the foundation for all reactive (Rx) classes that makes Get so powerful. This interface is the contract that _RxImpl]
RxIntTransform
RxList<E>
Create a list similar to List<T>
RxMap<K, V>
Rxn<T>
RxnBool
RxnDouble
RxnInt
RxnNum
RxNotifier<T>
RxnString
Rx class for String Type.
RxNum
RxSet<E>
RxStatus
RxString
Rx class for String Type.
RxStringTransform
SetEquality<E>
Equality of sets.
Shimmer
A widget renders shimmer effect over child widget tree.
SimpleBuilder
SimpleBuilderState
SimpleSnackBar
SnackbarController
Space
StackList<T>
StreamData<T>
StreamGetController<T>
StringFormatter
StringPicture
Decodes the given String as a picture, associating it with the given scale.
StringTransform
SuperController<T>
Svg
A utility class for decoding SVG data to a DrawableRoot or a PictureInfo.
SvgAsset
SvgImage
SvgPicture
A widget that will parse SVG data into a Picture using a PictureProvider.
SvgProvider
SvgTheme
A theme used when decoding an SVG picture.
SwipeRefresh
TextBox
TextDirection
Represents directionality of text.
TextValueBuilder
ThemeBuilder
A stateless utility widget whose build method uses its builder callback to create the widget's child and apply the theme on descendant widgets if provided.
TimeAgo
Transformable<Object, JSON>
Translations
TrustedCertificate
UnionSet<E>
A single set that provides a view of the union over a set of sets.
UnionSetController<E>
A controller that exposes a view of the union of a collection of sets.
UnmodifiableListView<E>
An unmodifiable List view of another List.
UnmodifiableMapMixin<K, V>
Mixin class that implements a throwing version of all map operations that change the Map.
UnmodifiableMapView<K, V>
View of a Map that disallow modifying the map.
UnmodifiableSetMixin<E>
Mixin class that implements a throwing version of all set operations that change the Set.
UnmodifiableSetView<E>
An unmodifiable set.
UnorderedIterableEquality<E>
Equality of the elements of two iterables without considering order.
Value<T>
ValueBuilder<T>
Manages a local state like ObxValue, but uses a callback instead of a Rx value.
ValueBuilderState<T>
WebViewConfiguration
Additional configuration options for LaunchMode.inAppWebView.
Worker
Workers

Enums

CipherType
DividerStyle
DrawableTextAnchorPosition
How to anchor text.
GetIconAsset
Icon asset names
GetImageAsset
Image asset names
GetMethod
GetStatus
GetText
Get text keys
GradientUnitMode
Determines how to transform the points given for a gradient.
LaunchMode
The desired mode to launch a URL.
MapperType
PopMode
Enables the user to customize the intended pop behavior
PreventDuplicateHandlingMode
Enables the user to customize the behavior when pushing multiple routes that shouldn't be duplicates
RowStyle
ScreenType
ShimmerDirection
An enum defines all supported directions of shimmer effect
SmartManagement
GetX 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 GetX then don't change this. SmartManagement.onlyBuilder only controllers started in init: or loaded into a Binding with Get.lazyPut() will be disposed. If you use Get.put() or Get.putAsync() or any other approach, SmartManagement will not have permissions to exclude this dependency. With the default behavior, even widgets instantiated with "Get.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.
SnackbarStatus
Indicates Status of snackbar SnackbarStatus.OPEN Snack is fully open, SnackbarStatus.CLOSED Snackbar has closed, SnackbarStatus.OPENING Starts with the opening animation and ends with the full snackbar display, SnackbarStatus.CLOSING Starts with the closing animation and ends with the full snackbar dispose
SnackPosition
Indicates if snack is going to start at the TOP or at the BOTTOM
SnackStyle
Indicates if snack will be attached to the edge of the screen or not
Transition
ValueType

Mixins

FullLifeCycleMixin
GetLifeCycleBase
The GetLifeCycle
GetResponsiveMixin
GetSingleTickerProviderStateMixin
Used like SingleTickerProviderMixin but only with Get Controllers. Simplifies AnimationController creation inside GetxController.
GetStateUpdaterMixin<T extends StatefulWidget>
Complies with GetStateUpdater
GetTickerProviderStateMixin
Used like TickerProviderMixin but only with Get Controllers. Simplifies multiple AnimationController creation inside GetxController.
GetxServiceMixin
Allow track difference between GetxServices and GetxControllers
NotifyManager<T>
PageRouteReportMixin<T>
RxObjectMixin<T>
global object that registers against GetX and Obx, and allows the reactivity of those Widgets and Rx values.
ScrollMixin
SingleGetTickerProviderMixin
Used like SingleTickerProviderMixin but only with Get Controllers. Simplifies AnimationController creation inside GetxController.
StateMixin<T>

Extensions

Bool on bool
BoolExtension on bool
BoolString on String
BrightnessX on Brightness
BytesToBase64 on Uint8List
CipherTypeX on CipherType
ClickableX on Widget
ColorX on Color
ComparatorExtension on Comparator<T>
Extensions on comparator functions.
CompleterX on Completer<T>
ContextExtensionss on BuildContext
CurrencyNum on num
CurrencyString on String
Date on DateTime
DateTimeAgo on DateTime
DoubleExtension on double
DurationX on Duration
EnumIterableX on Iterable<T>
EnumX on Enum
ExtensionBottomSheet on GetInterface
ExtensionDialog on GetInterface
ExtensionSnackbar on GetInterface
FirstWhereExt on List<T>
GetAsset on Enum
Asset directories mapping for easy access.
GetBottomSheetX on GetInterface
GetBoxDecoration on BoxDecoration
GetContext on BuildContext
GetContextTheme on BuildContext
GetDateFormat on DateFormat
GetDateTimePickerX on GetInterface
GetDensity on VisualDensity
GetDiagnosticable on Diagnosticable
GetDurationUtils on Duration
Duration utilities.
GetDynamicUtils on dynamic
GetFileX on String
GetFocusNode on FocusNode
GetGlobalKey on GlobalKey<T>
GetInterfaceX on GetInterface
GetLoggerX on T
GetNavigation on GetInterface
GetNumUtils on num
GetOffset on Offset
GetPopupMenuWidget on Widget
GetResetExt on GetInterface
GetShimmer on Shimmer
GetStatusX on GetStatus
GetStringUtils on String
GetTextX on GetText
Extending GetText for localization support
GetWidgetX on Widget
Inst on GetInterface
IntExtension on int
IterableComparableExtension on Iterable<T>
Extensions that apply to iterables of Comparable elements.
IterableDoubleExtension on Iterable<double>
Extension on iterables of double.
IterableExtension on Iterable<T>
Extensions that apply to all iterables.
IterableExtensions on Iterable<T>
IterableIntegerExtension on Iterable<int>
Extension on iterables of integers.
IterableIterableExtension on Iterable<Iterable<T>>
Extensions on iterables whose elements are also iterables.
IterableMapEntry on Iterable<MapEntry<K, V>>
IterableNullableExtension on Iterable<T?>
Extensions that apply to iterables with a nullable element type.
IterableNumberExtension on Iterable<num>
Extensions that apply to iterables of numbers.
IterableX on Iterable<E>
ListComparableExtensions on List<E>
Various extensions on lists of comparable elements.
ListExtension on List<E>
ListExtensions on List<E>
Various extensions on lists of arbitrary elements.
ListX on List<E>
LocalesIntl on GetInterface
LocaleX on Locale
LoopEventsExt on GetInterface
MapDynamic on Map<K, dynamic>
MapExtension on Map<K, V>
MapX on Map<K, V>
MaterialStatePropertyX on MaterialStateProperty<T>
MediaQueryX on MediaQueryData
Num on num
NumSpace on num
ObjectX on Object
OverlayExt on GetInterface
PagesListExt on List<GetPage>
ParseLocale on String
Precision on double
RandomX on Random
ReactiveT on T
RxBoolExt on Rx<bool>
RxDoubleExt on Rx<double>
RxIntExt on Rx<int>
RxnBoolExt on Rx<bool?>
RxnDoubleExt on Rx<double?>
RxnIntExt on Rx<int?>
RxnNumExt on Rx<T?>
RxnStringExt on Rx<String?>
RxNumExt on Rx<T>
RxStringExt on Rx<String>
RxT on T
SetExtension on Set<E>
StateExt on StateMixin<T>
StringAsset on String
StringExtension on String
StringX on String
TextInputFilter on TextInputFormatter
TextInputTypeX on TextInputType
TextStyleX on TextStyle
Trans on String
Uint8ListX on Uint8List
UrlX on String
WidgetMarginX on Widget
Add margin property to widget
WidgetPaddingX on Widget
add Padding Property to widget
WidgetSliverBoxX on Widget
Allows you to insert widgets inside a CustomScrollView

Constants

chunkedCoding → const ChunkedCodingCodec
The canonical instance of ChunkedCodingCodec.
kDensePadding → const double
kDensePaddingAll → const EdgeInsets
kDensePaddingH → const EdgeInsets
kDensePaddingV → const EdgeInsets
kDensePaddingX → const double
kDensePaddingY → const double
kExtendedPadding → const double
kExtendedPaddingAll → const EdgeInsets
kExtendedPaddingH → const EdgeInsets
kExtendedPaddingV → const EdgeInsets
kExtendedPaddingX → const double
kExtendedPaddingY → const double
kMediumPadding → const double
kMediumPaddingAll → const EdgeInsets
kMediumPaddingH → const EdgeInsets
kMediumPaddingV → const EdgeInsets
kMediumPaddingX → const double
kMediumPaddingY → const double
kStandardPadding → const double
kStandardPaddingAll → const EdgeInsets
kStandardPaddingForm → const EdgeInsets
kStandardPaddingH → const EdgeInsets
kStandardPaddingV → const EdgeInsets
kStandardPaddingX → const double
kStandardPaddingY → const double
kTileConstraints → const BoxConstraints
kTileFontSize → const double
kTileRowChildrenPadding → const EdgeInsets
kTileRowConstraints → const BoxConstraints
kTileRowFontSize → const double
kTileRowLeadingDensePadding → const EdgeInsets
kTileRowLeadingMargin → const EdgeInsets
kTileRowLeadingMediumPadding → const EdgeInsets
kTileRowLeadingPadding → const EdgeInsets
kTileRowLeadingSmallSize → const double
kTileRowMaxLines → const int
kTileRowTrailingPadding → const EdgeInsets
kTileRowTrailingSize → const double
rtlLanguages → const List<String>

Properties

Get → _GetImpl
final
isolate GetIsolate?
no setter
It replaces the Flutter Navigator, but needs no context. You can to use navigator.push(YourRoute()) rather Navigator.push(context, YourRoute());
no setter
sprintf PrintFormat
getter/setter pair
svg Svg
Instance for Svg's utility methods, which can produce a DrawableRoot or PictureInfo from String or Uint8List.
final

Functions

$cast<T>(dynamic value) → T?
Returns T if instance of T, otherwise null
$logDebug([dynamic info, dynamic tag, Object? name = ""]) → void
$logEvent([dynamic info, dynamic tag, Object? name]) → void
$name(Type type) String
Returns the name of type
$object(dynamic value) Object?
Returns Object
$route(Type type) String
Returns the name of type
ambiguate<T>(T? value) → T?
binarySearch<E>(List<E> sortedList, E value, {int compare(E, E)?}) int
Returns a position of the value in sortedList, if it is there.
bodyBytesToString(Stream<List<int>> bodyBytes, Map<String, String> headers) Future<String>
canLaunch(String urlString) Future<bool>
Checks whether the specified URL can be handled by some app installed on the device.
canLaunchUrl(Uri url) Future<bool>
Checks whether the specified URL can be handled by some app installed on the device.
closeInAppWebView() Future<void>
Closes the current in-app web view, if one was previously opened by launchUrl.
closeWebView() Future<void>
Closes the current WebView, if one was previously opened via a call to launch.
compareAsciiLowerCase(String a, String b) int
Compares a and b lexically, converting ASCII letters to lower case.
compareAsciiLowerCaseNatural(String a, String b) int
Compares strings a and b according to lower-case natural sort ordering.
compareAsciiUpperCase(String a, String b) int
Compares a and b lexically, converting ASCII letters to upper case.
compareAsciiUpperCaseNatural(String a, String b) int
Compares strings a and b according to upper-case natural sort ordering.
compareNatural(String a, String b) int
Compares strings a and b according to natural sort ordering.
createLocalPictureConfiguration(BuildContext? context, {Rect? viewBox, ColorFilter? colorFilterOverride, Color? color, BlendMode? colorBlendMode}) PictureConfiguration
Creates an PictureConfiguration based on the given BuildContext (and optionally size).
debounce<T>(RxInterface<T> listener, WorkerCallback<T> callback, {Duration? time, Function? onError, void onDone()?, bool? cancelOnError}) Worker
debounce is similar to interval, but sends the last value. Useful for Anti DDos, every time the user stops typing for 1 second, for instance. When listener emits the last "value", when time hits, it calls callback with the last "value" emitted.
defaultLogWriterCallback(String value, {bool isError = false}) → void
default logger from GetX
equalsIgnoreAsciiCase(String a, String b) bool
Checks if strings a and b differ only on the case of ASCII letters.
ever<T>(RxInterface<T> listener, WorkerCallback<T> callback, {dynamic condition = true, Function? onError, void onDone()?, bool? cancelOnError}) Worker
Called every time listener changes. As long as the condition returns true.
everAll(List<RxInterface> listeners, WorkerCallback callback, {dynamic condition = true, Function? onError, void onDone()?, bool? cancelOnError}) Worker
Similar to ever, but takes a list of listeners, the condition for the callback is common to all listeners, and the callback is executed to each one of them. The Worker is common to all, so worker.dispose() will cancel all streams.
extensionFromMime(String mime) String?
formatHttpDate(DateTime date) String
Return a HTTP-formatted string representation of date.
groupBy<S, T>(Iterable<S> values, T key(S)) Map<T, List<S>>
Groups the elements in values by the value returned by key.
hashIgnoreAsciiCase(String string) int
Hash code for a string which is compatible with equalsIgnoreAsciiCase.
insertionSort<E>(List<E> elements, {int compare(E, E)?, int start = 0, int? end}) → void
Sort a list between start (inclusive) and end (exclusive) using insertion sort.
interval<T>(RxInterface<T> listener, WorkerCallback<T> callback, {Duration time = const Duration(seconds: 1), dynamic condition = true, Function? onError, void onDone()?, bool? cancelOnError}) Worker
Ignore all changes in listener during time (1 sec by default) or until condition is met (can be a bool expression or a bool Function()), It brings the 1st "value" since the period of time, so if you click a counter button 3 times in 1 sec, it will show you "1" (after 1 sec of the first press) click counter 3 times in 1 sec, it will show you "4" (after 1 sec) click counter 2 times in 1 sec, it will show you "7" (after 1 sec).
lastBy<S, T>(Iterable<S> values, T key(S)) Map<T, S>
Associates the elements in values by the value returned by key.
launch(String urlString, {bool? forceSafariVC, bool forceWebView = false, bool enableJavaScript = false, bool enableDomStorage = false, bool universalLinksOnly = false, Map<String, String> headers = const <String, String>{}, Brightness? statusBarBrightness, String? webOnlyWindowName}) Future<bool>
Parses the specified URL string and delegates handling of it to the underlying platform.
launchUrl(Uri url, {LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), String? webOnlyWindowName}) Future<bool>
Passes url to the underlying platform for handling.
lowerBound<E>(List<E> sortedList, E value, {int compare(E, E)?}) int
Returns the first position in sortedList that does not compare less than value.
mapMap<K1, V1, K2, V2>(Map<K1, V1> map, {K2 key(K1, V1)?, V2 value(K1, V1)?}) Map<K2, V2>
Creates a new map from map with new keys and values.
maxBy<S, T>(Iterable<S> values, T orderBy(S), {int compare(T, T)?}) → S?
Returns the element of values for which orderBy returns the maximum value.
mergeMaps<K, V>(Map<K, V> map1, Map<K, V> map2, {V value(V, V)?}) Map<K, V>
Returns a new map with all key/value pairs in both map1 and map2.
mergeSort<E>(List<E> elements, {int start = 0, int? end, int compare(E, E)?}) → void
Sorts a list between start (inclusive) and end (exclusive) using the merge sort algorithm.
mime(String? fileName) String?
mimeFromExtension(String extension) String?
minBy<S, T>(Iterable<S> values, T orderBy(S), {int compare(T, T)?}) → S?
Returns the element of values for which orderBy returns the minimum value.
once<T>(RxInterface<T> listener, WorkerCallback<T> callback, {dynamic condition = true, Function? onError, void onDone()?, bool? cancelOnError}) Worker
once() will execute only 1 time when condition is met and cancel the subscription to the listener stream right after that. condition defines when callback is called, and can be a bool or a bool Function().
parseHttpDate(String date) DateTime
Parses an HTTP-formatted date into a UTC DateTime.
precachePicture(PictureProvider provider, BuildContext? context, {Rect? viewBox, ColorFilter? colorFilterOverride, Color? color, BlendMode? colorBlendMode, PictureErrorListener? onError}) Future<void>
Prefetches an SVG Picture into the picture cache.
profileTask<T>(Future<T> task()) Future<T>
reverse<E>(List<E> elements, [int start = 0, int? end]) → void
Reverses a list, or a part of a list, in-place.
scheduleTask<T>(FutureOr<T> task()) Future<T>
Schedules the given task with the Priority.animation and returns a Future that completes to the task's eventual return value.
shuffle(List elements, [int start = 0, int? end, Random? random]) → void
Shuffles a list randomly.
stronglyConnectedComponents<T>(Map<T, Iterable<T>> graph) List<Set<T>>
Returns the strongly connected components of graph, in topological order.
supportsCloseForLaunchMode(LaunchMode mode) Future<bool>
Returns true if closeInAppWebView is supported for mode in the current platform implementation.
supportsLaunchMode(LaunchMode mode) Future<bool>
Returns true if mode is supported by the current platform implementation.
toBeginningOfSentenceCase(String? input, [String? locale]) String?
Convert a string to beginning of sentence case, in a way appropriate to the locale.
transitiveClosure<T>(Map<T, Iterable<T>> graph) Map<T, Set<T>>
Returns the transitive closure of graph.

Typedefs

AddSubscription<T> = FutureOr<void> Function(LightSubscription<T> subs)
ArMessages = ArMessages
AsyncInstanceBuilderCallback<S> = Future<S> Function()
AzMessages = AzMessages
BindingBuilderCallback = void Function()
BoolCallback = Callback<bool>
Callback<T> = T Function()
CaMessages = CaMessages
Condition = bool Function()
CsMessages = CsMessages
DaMessages = DaMessages
Decoder<T> = T Function(dynamic data)
DeMessages = DeMessages
DvMessages = DvMessages
EnMessages = EnMessages
EsMessages = EsMessages
FaMessages = FaMessages
Filter<T> = bool Function(T value, String query)
FrMessages = FrMessages
FutureCallback = Callback<Future>
GetControllerBuilder<T extends DisposableInterface> = Widget Function(T controller)
GetFilterItemBuilder<T> = Widget Function(BuildContext context, T value, VoidCallback onTap)
GetFormData = FormData
GetItemBuilder = Widget Function(BuildContext context, dynamic data)
GetMultipartFile = MultipartFile
GetPageBuilder = Widget Function()
GetPopupMenuChildBuilder = Widget Function(VoidCallback? onPopup)
Signature used by GetPopupMenu to lazily construct the child widget that can show the menu if onPopup method is called from the argument.
GetPopupMenuItemBuilder<T> = PopupMenuEntry<int> Function(int index, T data)
Signature used by GetPopupMenu to lazily construct the items shown when the button is pressed.
GetPopupMenuItemSelected<T> = void Function(int index, T data)
Signature for the callback invoked when a menu item is selected. The first argument is the index of the selected item and second is the data of type T that caused its menu to be dismissed.
GetPopupMenuSeparatorBuilder<T> = PopupMenuEntry<int> Function(int index, T data)
GetResponse<T> = Response<T>
GetSection = dynamic Function(int index)
GetSectionBuilder = Widget Function(BuildContext context, int index, dynamic section)
GetSimpleAppBar = PreferredSizeWidget
GetSliverAppBar = List<Widget>
GetSliverBuilder = List<Widget> Function(BuildContext context)
GetTimerCallback = void Function(Duration elapsed)
GetXControllerBuilder<T extends DisposableInterface> = Widget Function(T controller)
GrMessages = GrMessages
HeMessages = HeMessages
HiMessages = HiMessages
IdMessages = IdMessages
InjectorBuilderCallback<S> = S Function(GetInstance)
InstanceBuilderCallback<S> = S Function()
ItMessages = ItMessages
JaMessages = JaMessages
KmMessages = KmMessages
KoMessages = KoMessages
KuMessages = KuMessages
LogWriterCallback = void Function(String text, {bool isError})
VoidCallback from logs
LookupMessages = LookupMessages
MapperSetter = dynamic Function(dynamic v)
MnMessages = MnMessages
MsMyMessages = MsMyMessages
NbNoMessages = NbNoMessages
NlMessages = NlMessages
NnNoMessages = NnNoMessages
NotifierBuilder<T> = Widget Function(T state)
OnString = OnValue<String>
OnStringCallback<R> = OnValueCallback<R, String>
OnStringReturn = OnValueReturn<String>
OnTap = void Function(GetSnackBar snack)
OnValue<T> = void Function(T value)
OnValue2<V1, V2> = void Function(V1 v1, V2 v2)
OnValueCallback<R, T> = R Function(T value)
OnValueReturn<T> = T Function(T value)
PictureErrorListener = void Function(Object exception, StackTrace stackTrace)
The signature of a method that listens for errors on picture stream resolution.
PictureInfoDecoder<T> = Future<PictureInfo> Function(T data, ColorFilter? colorFilter, String key)
The signature of a function that can decode raw SVG data into a Picture.
PictureInfoDecoderBuilder<T> = PictureInfoDecoder<T> Function(SvgTheme theme)
The signature of a builder that returns a PictureInfoDecoder based on the provided theme.
PictureListener = dynamic Function(PictureInfo? image, bool synchronousCall)
Signature for callbacks reporting that an image is available.
PlMessages = PlMessages
PrintFormatFormatter = Formatter Function(dynamic arg, dynamic options)
PrintFunctionCallback = void Function(String prefix, dynamic value, String info, {bool? isError})
Progress = dynamic Function(double percent)
PtBrMessages = PtBrMessages
RemoveSubscription<T> = FutureOr<bool?> Function(LightSubscription<T> subs)
RoMessages = RoMessages
RuMessages = RuMessages
RwMessages = RwMessages
SnackbarStatusCallback = void Function(SnackbarStatus? status)
StringCallback = Callback<String>
SvMessages = SvMessages
SwipeRefreshCallback = Future<void> Function()
SwipeRefreshState = RefreshIndicatorState
TaMessages = TaMessages
TextValueWidgetBuilder = Widget Function(BuildContext context, TextEditingValue value)
ThMessages = ThMessages
TrMessages = TrMessages
UkMessages = UkMessages
ValueBuilderBuilder<T> = Widget Function(T snapshot, ValueBuilderUpdateCallback<T> updater)
ValueBuilderUpdateCallback<T> = void Function(T snapshot)
ValueUpdater<T> = T Function()
ViMessages = ViMessages
WidgetCallback = Widget Function()
WorkerCallback<T> = dynamic Function(T callback)
ZhCnMessages = ZhCnMessages
ZhMessages = ZhMessages

Exceptions / Errors

GetException