flutter_mylibrary library

Classes

Adaptation
AndroidBuildVersion
Version values of the current Android operating system build derived from android.os.Build.VERSION. [...]
AndroidDeviceInfo
Information derived from android.os.Build. [...]
AndroidEditor
ArabicTextDelegate
AssetsPickerTextDelegate implements with Arabic. الترجمة العربية
AssetEntity
Used to describe a picture or video
AssetEntityGridItemBuilder
AssetEntityGridItemWidgetState
AssetEntityImageProvider
AssetPathEntity
asset entity, for entity info.
AssetPicker<Asset, Path>
AssetPickerBuilderDelegate<Asset, Path>
The delegate to build the whole picker's components. [...]
AssetPickerPageRoute<T>
Built a slide page transition for the picker. 为选择器构造一个上下进出的页面过渡动画
AssetPickerProvider<Asset, Path>
ChangeNotifier for assets picker. [...]
AssetPickerState<Asset, Path>
AssetPickerViewer<Asset, Path>
AssetPickerViewerBuilderDelegate<Asset, Path>
AssetPickerViewerProvider<A>
ChangeNotifier for assets picker viewer. 资源选择查看器的 provider model.
AssetPickerViewerState<Asset, Path>
AssetsPickerTextDelegate
Author Alex (https://github.com/Alex525) Date 2020/4/7 10:25 [...]
AutoOrientation
BallPulseFooter
球脉冲Footer
BallPulseFooterWidget
球脉冲组件
BallPulseFooterWidgetState
BallPulseHeader
球脉冲Header
BallPulseHeaderWidget
球脉冲组件
BallPulseHeaderWidgetState
BezierBounceFooter
BezierBounceFooter
BezierBounceFooterWidget
BezierBounceFooter组件
BezierBounceFooterWidgetState
BezierCircleHeader
弹出圆圈Header
BezierCircleHeaderWidget
弹出小球组件
BezierCircleHeaderWidgetState
BezierHourGlassHeader
BezierHourGlassHeader
BezierHourGlassHeaderWidget
BezierHourGlassHeader组件
BezierHourGlassHeaderWidgetState
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. [...]
Boundary
Caption
A representation of a single caption. [...]
ChangeNotifierProvider<T extends ChangeNotifier?>
Listens to a ChangeNotifier, expose it to its descendants and rebuilds dependents whenever ChangeNotifier.notifyListeners is called. [...]
ChangeNotifierProxyProvider<T, R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
ChangeNotifierProxyProvider0<R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
ChangeNotifierProxyProvider2<T, T2, R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
ChangeNotifierProxyProvider3<T, T2, T3, R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
ChangeNotifierProxyProvider4<T, T2, T3, T4, R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
ChangeNotifierProxyProvider5<T, T2, T3, T4, T5, R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
ChangeNotifierProxyProvider6<T, T2, T3, T4, T5, T6, R extends ChangeNotifier?>
A ChangeNotifierProvider that builds and synchronizes a ChangeNotifier with external values. [...]
CirclePainter
圆面切割
ClassicalFooter
经典Footer
ClassicalFooterWidget
经典Footer组件
ClassicalFooterWidgetState
ClassicalHeader
经典Header
ClassicalHeaderWidget
经典Header组件
ClassicalHeaderWidgetState
ClosableSlideAction
Abstract class for slide actions that can close after onTap occurred.
ClosedCaption
Widget for displaying closed captions on top of a video. [...]
ClosedCaptionFile
A structured representation of a parsed closed caption file. [...]
ColorTabIndicator
CommonSortPathDelegate
Common sort path delegate. 常用的路径排序实现 [...]
Connectivity
Discover network connectivity configurations: Distinguish between WI-FI and cellular, check WI-FI status and more.
Consumer<T>
Obtains Provider<T> from its ancestors and passes its value to builder. [...]
Consumer2<A, B>
Obtains Provider<T> from its ancestors and passes its value to builder. [...]
Consumer3<A, B, C>
Obtains Provider<T> from its ancestors and passes its value to builder. [...]
Consumer4<A, B, C, D>
Obtains Provider<T> from its ancestors and passes its value to builder. [...]
Consumer5<A, B, C, D, E>
Obtains Provider<T> from its ancestors and passes its value to builder. [...]
Consumer6<A, B, C, D, E, F>
Obtains Provider<T> from its ancestors and passes its value to builder. [...]
CropAspectRatios
CustomFooter
通用Footer构造器
CustomHeader
通用Header
CustomLayoutOption
CustomTransition
DateTimeCond
CreateDate
DefaultAssetPickerBuilderDelegate
DefaultAssetPickerProvider
DefaultAssetPickerViewerBuilderDelegate
DeferredInheritedProvider<T, R>
An InheritedProvider where the object listened is not the object emitted. [...]
DelayTween
DeliveryHeader
气球快递Header
DeliveryHeaderWidget
气球快递组件
DeliveryHeaderWidgetState
DeviceInfoPlugin
Provides device and operating system information.
DisposableInterface
DotSwiperPaginationBuilder
DurationConstraint
Constraints of duration. [...]
DurationRange
Describes a discrete segment of time within a video using a start and end Duration.
EasyRefresh
EasyRefresh 下拉刷新,上拉加载组件
EasyRefreshController
EasyRefresh控制器
EasyRefreshSliverLoadControl
A sliver widget implementing the iOS-style pull to refresh content control. [...]
EasyRefreshSliverRefreshControl
A sliver widget implementing the iOS-style pull to refresh content control. [...]
EditActionDetails
Editor
EditorConfig
EditorCropLayerPainter
EnglishTextDelegate
AssetsPickerTextDelegate implements with English. English Localization
EventBus
Dispatches events to listeners using the Dart Stream API. The EventBus enables decoupled applications. It allows objects to interact without requiring to explicitly define listeners and keeping track of them. [...]
ExtendedGridView
A scrollable, 2D array of widgets. [...]
ExtendedImage
extended image base on official
ExtendedImageBorderPainter
ExtendedImageCropLayerPainter
ExtendedImageEditor
create by zmtzawqlp on 2019/8/22
ExtendedImageEditorState
ExtendedImageGesture
scale idea from https://github.com/flutter/flutter/blob/master/examples/layers/widgets/gestures.dart zoom image
ExtendedImageGesturePageView
page view to support gesture for image
ExtendedImageGesturePageViewState
ExtendedImageGestureState
ExtendedImageSlidePage
ExtendedImageSlidePageHandler
create by zmtzawqlp on 2019/6/14 [...]
ExtendedImageSlidePageHandlerState
ExtendedImageSlidePageState
ExtendedImageState
ExtendedListDelegate
A delegate that provides extensions within the ExtendedGridView,ExtendedList,WaterfallFlow.
ExtendedListView
create by zmtzawqlp on 2019/11/23 [...]
ExtendedPageView
A scrollable list that works page by page. [...]
ExtendedRawImage
A widget that displays a dart:ui.Image directly. [...]
ExtendedRenderImage
ExtendedSliverFixedExtentList
A sliver that places multiple box children with the same main axis extent in a linear array. [...]
ExtendedSliverGrid
A sliver that places multiple box children in a two dimensional arrangement. [...]
ExtendedSliverList
create by zmtzawqlp on 2019/11/23 [...]
ExtendedTab
A material design TabBar tab. [...]
ExtendedTabBar
A material design widget that displays a horizontal row of tabs. [...]
ExtendedTabBarView
A page view that displays the widget which corresponds to the currently selected tab. [...]
ExtendedUnderlineTabIndicator
Used with TabBar.indicator to draw a horizontal line below the selected tab. [...]
FastList<T>
FilterOption
Filter option 筛选选项的详细情况
FilterOptionGroup
Filter option for get asset. [...]
FirstRefreshHeader
首次刷新Header
FloatFormatter
FlutterSmartDialog
Header
Formatter
FormData
FractionallyAlignedSizedBox
A widget that positions its child to a fraction of the total available space.
FractionPaginationBuilder
FrameSeparateWidget
Copyright 2020 ke.com. All rights reserved. @date 5/7/21 11:48 AM @desc Framing component, which renders the child node in a separate frame after the placeholder is rendered in the first frame
FrenchTextDelegate
AssetsPickerTextDelegate implements with French. Délégué texte français
FullLifeCycleController
FutureProvider<T>
Listens to a Future and exposes its result to child and its descendants. [...]
GermanTextDelegate
AssetsPickerTextDelegate implementiert mit der deutschen Übersetzung. Deutsche Textimplementierung.
GestureAnimation
GestureConfig
GestureDetails
GetBar<T extends Object>
GetBuilder<T extends GetxController>
GetBuilderState<T extends GetxController>
GetConnect
GetConnectInterface
GetCupertinoApp
GetDelegate
GetHttpClient
GetInformationParser
GetInstance
GetInterface
GetInterface allows any auxiliary package to be merged into the "Get" class through extensions
GetLifeCycle
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>
GetObserver
GetPage<T>
GetPageRoute<T>
GetPlatform
GetQueue
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?>
GetRouterOutlet
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>
GetUtils
GetView<T>
GetView is a great way of quickly access your Controller without having to call Get.find() yourself. [...]
GetWidget<S extends GetLifeCycleBase?>
GetWidget is a great way of quickly access your individual Controller without having to call Get.find() yourself. Get save you controller on cache, so, you can to use Get.create() safely GetWidget is perfect to multiples instance of a same controller. Each GetWidget will have your own controller, and will be call events as onInit and onClose when the controller get in/get out on memory.
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>
GraphQLResponse<T>
Header
HeaderValue
HebrewTextDelegate
AssetsPickerTextDelegate implements with Hebrew. תרגום בשפה העברית
IconSlideAction
A basic slide action with an icon, a caption and a background color.
InheritedContext<T>
A BuildContext associated to an InheritedProvider. [...]
InheritedProvider<T>
A generic implementation of an InheritedWidget. [...]
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
IosDeviceInfo
Information derived from UIDevice. [...]
IosEditor
For iOS
IosUtsname
Information derived from utsname. See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details.
JapaneseTextDelegate
AssetsPickerTextDelegate implements with Japanese. 日本語の TextDelegate
KeyboardDismisser
A widget that can dismiss the keyboard when performing a gesture. [...]
LatLng
Longitude and latitude
LightSubscription<T>
LinkFooterNotifier
链接通知器
LinkHeader
链接器Header
LinkHeaderNotifier
链接通知器
ListenableProvider<T extends Listenable?>
Listens to a Listenable, expose it to its descendants and rebuilds dependents whenever the listener emits an event. [...]
ListenableProxyProvider<T, R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
ListenableProxyProvider0<R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
ListenableProxyProvider2<T, T2, R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
ListenableProxyProvider3<T, T2, T3, R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
ListenableProxyProvider4<T, T2, T3, T4, R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
ListenableProxyProvider5<T, T2, T3, T4, T5, R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
ListenableProxyProvider6<T, T2, T3, T4, T5, T6, R extends Listenable?>
A variation of ListenableProvider that builds its value from values obtained from other providers. [...]
MaterialFooter
质感设计Footer
MaterialFooterWidget
质感设计Footer组件
MaterialFooterWidgetState
MaterialHeader
质感设计Header
MaterialHeaderWidget
质感设计Header组件
MaterialHeaderWidgetState
MiddlewareRunner
MiniStream<T>
MiniSubscription<T>
MixinBuilder<T extends GetxController>
MultipartFile
MultiProvider
A provider that merges multiple providers into a single linear widget tree. It is used to improve readability and reduce boilerplate code of having to nest multiple layers of providers. [...]
Node<T>
NotificationFooter
通知器Footer
NotificationHeader
通知器Header
Obx
The simplest reactive widget in GetX. [...]
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 [...]
OpacityTransformBuilder
OrderOption
PackageInfo
Application metadata. Provides application bundle information on iOS and application package information on Android. [...]
PageRedirect
PathDecoded
Permission
Defines the permissions which can be checked and requested.
PermissionWithService
A special kind of permission used to access a service. Additionally to the actions that normal Permissions have, you can also query the status of the related service.
PermisstionRequestOption
PhoenixFooter
金色校园Footer
PhoenixFooterWidget
金色校园组件
PhoenixFooterWidgetState
PhoenixHeader
金色校园Header
PhoenixHeaderWidget
金色校园组件
PhoenixHeaderWidgetState
PhotoCachingManager
Cached thumbnails for album management.
PhotoManager
use the class method to help user load asset list and asset info. [...]
PMProgressHandler
Only works in iOS.
PMProgressState
Status of progress for PMProgressHandler.
PrintFormat
Provider<T>
A Provider that manages the lifecycle of the value it provides by delegating to a pair of Create and Dispose. [...]
ProviderBinding
ProxyProvider<T, R>
A provider that builds a value based on other providers. [...]
ProxyProvider0<R>
A provider that builds a value based on other providers. [...]
ProxyProvider2<T, T2, R>
A provider that builds a value based on other providers. [...]
ProxyProvider3<T, T2, T3, R>
A provider that builds a value based on other providers. [...]
ProxyProvider4<T, T2, T3, T4, R>
A provider that builds a value based on other providers. [...]
ProxyProvider5<T, T2, T3, T4, T5, R>
A provider that builds a value based on other providers. [...]
ProxyProvider6<T, T2, T3, T4, T5, T6, R>
A provider that builds a value based on other providers. [...]
ReassembleHandler
If you need your provider to be notified when 'Hot Reload' occurs, use this class [...]
RectSwiperPaginationBuilder
RenderSliverWaterfallFlow
A sliver that places multiple box children with masonry layouts. [...]
RequestType
Response<T>
ResponsiveScreen
ResponsiveScreenSettings
RotateTransformBuilder
RouterOutlet<TDelegate extends RouterDelegate<T>, T extends Object>
Routing
RussianTextDelegate
AssetsPickerTextDelegate implements with Russian. Локализация на русский язык.
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
RxController
RxDouble
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] uses in all it's subclass.
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.
ScaleAndFadeTransformer
ScaleTransformBuilder
ScreenUtil
ScreenUtilInit
ScrollNotificationInterceptor
滚动通知拦截器(用于拦截其他UI组件的滑动事件)
Selector<A, S>
An equivalent to Consumer that can filter updates by selecting a limited amount of values and prevent rebuild if they don't change. [...]
Selector0<T>
A base class for custom Selector. [...]
Selector2<A, B, S>
An equivalent to Consumer that can filter updates by selecting a limited amount of values and prevent rebuild if they don't change. [...]
Selector3<A, B, C, S>
An equivalent to Consumer that can filter updates by selecting a limited amount of values and prevent rebuild if they don't change. [...]
Selector4<A, B, C, D, S>
An equivalent to Consumer that can filter updates by selecting a limited amount of values and prevent rebuild if they don't change. [...]
Selector5<A, B, C, D, E, S>
An equivalent to Consumer that can filter updates by selecting a limited amount of values and prevent rebuild if they don't change. [...]
Selector6<A, B, C, D, E, F, S>
An equivalent to Consumer that can filter updates by selecting a limited amount of values and prevent rebuild if they don't change. [...]
SimpleBuilder
SizeCacheWidget
Copyright 2020 ke.com. All rights reserved. @date 5/7/21 2:13 PM @desc <int,Size> > Cache child node information
SizeConstraint
Constraints of asset pixel width and height.
Slidable
A widget that can be slid in both direction of the specified axis. [...]
SlidableBehindActionPane
An action pane that creates actions which stay behind the item while it's sliding.
SlidableController
A controller that keep tracks of the active SlidableState and close the previous one.
SlidableData
The data used by a Slidable.
SlidableDismissal
A widget that controls how the Slidable is dismissed. [...]
SlidableDrawerActionPane
An action pane that creates actions which animate like drawers while the item is sliding.
SlidableDrawerDismissal
A specific dismissal that creates slide actions that are displayed like drawers while the item is dismissing. The further slide action will grow faster than the other ones.
SlidableScrollActionPane
An action pane that creates actions which follow the item while it's sliding.
SlidableState
The state of Slidable widget. You can open or close the Slidable by calling the corresponding methods of this object.
SlidableStrechActionPane
An action pane that creates actions which stretch while the item is sliding.
SlideAction
A basic slide action with a background color and a child that will be center inside its area.
SlideActionBuilderDelegate
A delegate that supplies slide actions using a builder callback. [...]
SlideActionDelegate
A delegate that supplies slide actions. [...]
SlideActionListDelegate
A delegate that supplies slide actions using an explicit list. [...]
SliverWaterfallFlow
A sliver that places multiple box children in a two dimensional arrangement and masonry layout. [...]
SliverWaterfallFlowDelegate
create by zmtzawqlp on 2019/11/9 [...]
SliverWaterfallFlowDelegateWithFixedCrossAxisCount
Creates masonry layouts with a fixed number of tiles in the cross axis. [...]
SliverWaterfallFlowDelegateWithMaxCrossAxisExtent
Creates masonry layouts with tiles that each have a maximum cross-axis extent. [...]
SliverWaterfallFlowParentData
Parent data structure used by RenderSliverWaterfallFlow.
SmartDialog
SmoothStarRating
SnackRoute<T>
SortPathDelegate<Path>
Delegate to sort asset path entities. 用于资源路径排序的实现 [...]
SpinKitHourGlass
HourGlass 来源于flutter_spinkit
StreamProvider<T>
Listens to a Stream and exposes its content to child and descendants. [...]
StringFormatter
SubRipCaptionFile
Represents a ClosedCaptionFile, parsed from the SubRip file format. See: https://en.wikipedia.org/wiki/SubRip
SuperController<T>
Swiper
SwiperControl
SwiperController
SwiperCustomPagination
SwiperPagination
SwiperPlugin
plugin to display swiper components
SwiperPluginConfig
SwiperPluginView
TaskState
任务状态
TaurusFooter
冲上云霄Footer
TaurusFooterWidget
冲上云霄组件
TaurusFooterWidgetState
TaurusHeader
冲上云霄Header
TaurusHeaderWidget
冲上云霄组件
TaurusHeaderWidgetState
ThumbOption
TransformBuilder<T>
TranslateTransformBuilder
Translations
TrustedCertificate
Value<T>
ValueBuilder<T>
Manages a local state like ObxValue, but uses a callback instead of a Rx value. [...]
ValueListenableProvider<T>
Listens to a ValueListenable and exposes its current value. [...]
VideoPlayer
Widget that displays the video controlled by controller.
VideoPlayerController
Controls a platform video player, and provides updates when the state is changing. [...]
VideoPlayerOptions
VideoPlayerOptions can be optionally used to set additional player settings
VideoPlayerValue
The duration, current position, buffering state, error state and settings of a VideoPlayerController.
VideoProgressColors
Used to configure the VideoProgressIndicator widget's colors for how it describes the video's status. [...]
VideoProgressIndicator
Displays the play/buffering status of the video controlled by controller. [...]
WaterfallFlow
create by zmtzawqlp on 2019/11/9 [...]
Worker
Workers

Mixins

ExtendedRenderObjectMixin
mixin of extended list render if sliver is all out of viewport then return -1,-1 or nothing
FullLifeCycle
GetLifeCycleBase
The GetLifeCycle [...]
GetResponsiveMixin
GetStateUpdaterMixin<T extends StatefulWidget>
Complies with GetStateUpdater [...]
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

BoolExtension
ContextExtensionss
DoubleExtension
ExtensionBottomSheet
ExtensionDialog
ExtensionSnackbar
FuturePermissionStatusGetters
FutureServiceStatusGetters
GetDurationUtils
Duration utilities.
GetDynamicUtils
GetNavigation
GetNumUtils
GetResetExt
GetStringUtils
Inst
IntExtension
IterableExtensions
ListExtension
LocalesIntl
LoopEventsExt
MapExtension
OverlayExt
PagesListExt
PermissionActions
Actions that can be executed on a permission.
PermissionCheckShortcuts
Shortcuts for checking the status of a Permission.
PermissionListActions
Actions that can be taken on a List of Permissions.
PermissionStateExt
See PermissionState.
PermissionStatusGetters
Precision
ReactiveT
ReadContext
Exposes the read method.
RxBoolExt
RxDoubleExt
RxIntExt
RxnBoolExt
RxnDoubleExt
RxnIntExt
RxnNumExt
RxnStringExt
RxNumExt
RxStringExt
RxT
SelectContext
Adds a select method on BuildContext.
ServicePermissionActions
Actions that apply only to permissions that have an associated service.
ServiceStatusGetters
SetExtension
SizeExtension
StateExt
StringExtension
Trans
WatchContext
Exposes the watch method.
WidgetMarginX
Add margin property to widget
WidgetPaddingX
add Padding Property to widget
WidgetSliverBoxX
Allows you to insert widgets inside a CustomScrollView

Constants

kDefaultAutoplayDelayMs → const int
default auto play delay
3000
kDefaultAutoplayTransactionDuration → const int
Default auto play transition duration (in millisecond)
300
kMaxValue → const int
2000000000
kMiddleValue → const int
1000000000
minGesturePageDelta → const double
5.0
minMagnitude → const double
400.0
rtlLanguages → const List<String>
<String>['ar', 'fa', 'he', 'ps', 'ur']
velocity → const double
minMagnitude / 1000.0

Properties

disablePathProviderPlatformOverride bool
@Deprecated('This is no longer necessary, and is now a no-op'), @visibleForTesting, write-only
Get → _GetImpl
final
It replaces the Flutter Navigator, but needs no context. You can to use navigator.push(YourRoute()) rather Navigator.push(context, YourRoute());
read-only
sprintf PrintFormat
read / write

Functions

bodyBytesToString(Stream<List<int>> bodyBytes, Map<String, String> headers) Future<String>
clampScale(double scale, double min, double max) double
clearGestureDetailsCache() → void
clear the gesture details
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. [...]
defaultEditorMaskColorHandler(BuildContext context, bool pointerDown) Color
defaultLogWriterCallback(String value, {bool isError = false}) → void
default logger from GetX
defaultSlideEndHandler({Offset offset = Offset.zero, Size pageSize = const Size(100, 100), SlideAxis pageGestureAxis = SlideAxis.both}) bool
defaultSlidePageBackgroundHandler({Offset offset = Offset.zero, Size pageSize = const Size(100, 100), required Color color, SlideAxis pageGestureAxis = SlideAxis.both}) Color
ExtendedImageGesturePage
defaultSlideScaleHandler({Offset offset = Offset.zero, Size pageSize = const Size(100, 100), SlideAxis pageGestureAxis = SlideAxis.both}) double
doubleCompare(double value, double other, {double precision = precisionErrorTolerance}) int
Compare two double-precision values. Returns an integer that indicates whether value is less than, equal to, or greater than other. [...]
doubleEqual(double value, double other) bool
Returns a value indicating whether two instances of Double represent the same value. [...]
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.
getApplicationDocumentsDirectory() Future<Directory>
Path to a directory where the application may place data that is user-generated, or that cannot otherwise be recreated by your application. [...]
getApplicationSupportDirectory() Future<Directory>
Path to a directory where the application may place application support files. [...]
getDestinationRect({required Rect rect, required Size inputSize, double scale = 1.0, BoxFit fit, Alignment alignment = Alignment.center, Rect centerSlice, bool flipHorizontally = false}) Rect
getDownloadsDirectory() Future<Directory>
Path to the directory where downloaded files can be stored. This is typically only relevant on desktop operating systems. [...]
getExternalCacheDirectories() Future<List<Directory>>
Paths to directories where application specific external cache data can be stored. These paths typically reside on external storage like separate partitions or SD cards. Phones may have multiple storage directories available. [...]
getExternalStorageDirectories({StorageDirectory type}) Future<List<Directory>>
Paths to directories where application specific data can be stored. These paths typically reside on external storage like separate partitions or SD cards. Phones may have multiple storage directories available. [...]
getExternalStorageDirectory() Future<Directory>
Path to a directory where the application may access top level storage. The current operating system should be determined before issuing this function call, as this functionality is only available on Android. [...]
getLibraryDirectory() Future<Directory>
Path to the directory where application can store files that are persistent, backed up, and not visible to the user, such as sqlite.db. [...]
getTemporaryDirectory() Future<Directory>
Path to the temporary directory on the device that is not backed up and is suitable for storing caches of downloaded files. [...]
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). [...]
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(). [...]
openAppSettings() Future<bool>
Opens the app settings page. [...]
outRect(Rect rect, Rect destinationRect) bool
extended_image_gesture_utils.dart create by zmtzawqlp on 2019/4/3 [...]
paintExtendedImage({required Canvas canvas, required Rect rect, required Image image, String debugImageLabel, double scale = 1.0, ColorFilter colorFilter, BoxFit fit, Alignment alignment = Alignment.center, Rect centerSlice, ImageRepeat repeat = ImageRepeat.noRepeat, bool flipHorizontally = false, bool invertColors = false, FilterQuality filterQuality = FilterQuality.low, Rect customSourceRect, BeforePaintImage beforePaintImage, AfterPaintImage afterPaintImage, GestureDetails gestureDetails, EditActionDetails editActionDetails, bool isAntiAlias = false}) → void
rotateOffset(Offset input, Offset center, double angle) Offset
rotateRect(Rect rect, Offset center, double angle) Rect
roundAfter(double number, int position) double
typeOf<T>() Type
get type from T

Enums

ActionType
AssetType
asset type [...]
ConnectivityResult
Connection status check result.
DataSourceType
The way in which the video was originally loaded. [...]
DeliveryMode
ExtendedImageMode
GestureType
The gestures available to dismiss the keyboard with KeyboardDismisser. [...]
ImageFileType
InitCropRectType
InitialAlignment
init image rect with alignment when initialScale > 1.0 see https://github.com/fluttercandies/extended_image/issues/66
IosAccessLevel
LastChildLayoutType
LoadMode
The current state of the refresh control. [...]
LoadState
LocationAuthorizationStatus
The status of the location service authorization.
OrderOptionType
PermissionState
Android: The effective values are authorized or denied. [...]
PermissionStatus
Defines the state of a Permission.
PMRequestState
Current asset loading status
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
RefreshMode
The current state of the refresh control. [...]
ResizeContentMode
Resize content mode
ResizeMode
Resize strategy, useful when need exact image size. It's must be used only for iOS Apple resize mode documentation
ScreenType
ServiceStatus
SlidableRenderingMode
The rendering mode in which the Slidable is.
SlideActionType
The type of slide action that is currently been showed by the Slidable.
SlideAxis
SlideType
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
SnackDismissDirection
Indicates the direction in which it is possible to dismiss If vertical, dismiss up will be allowed if SnackPosition.TOP If vertical, dismiss down will be allowed if SnackPosition.BOTTOM
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
SpecialImageType
SpecialItemPosition
Provide an item slot for custom widget insertion. 提供一个自定义位置供特殊item放入资源列表中。
SpecialPickerType
Author Alex (https://github.com/Alex525) Date 2020/7/8 12:32 [...]
StorageDirectory
Corresponds to constants defined in Androids android.os.Environment class. [...]
SwiperLayout
ThumbFormat
For generality, only support jpg and png.
Transition
VideoFormat
The file format of the given video.

Typedefs

AddSubscription<T> = FutureOr<void> Function(LightSubscription<T> subs)
AfterPaintImage = void Function(Canvas canvas, Rect rect, Image image, Paint paint)
Call after paint image
AssetSelectPredicate<Asset> = FutureOr<bool> Function(BuildContext context, Asset asset, bool isSelected)
AsyncInstanceBuilderCallback<S> = Future<S> Function()
BeforePaintImage = bool Function(Canvas canvas, Rect rect, Image image, Paint paint)
rect is render size if return true, it will not paint original image,
BindingBuilderCallback = void Function()
BindLoadIndicator = void Function(FinishLoad finishLoad, VoidCallback resetLoadState)
绑定加载指示剂
BindRefreshIndicator = void Function(FinishRefresh finishRefresh, VoidCallback resetRefreshState)
绑定刷新指示剂
BuildGestureImage = Widget Function(GestureDetails gestureDetails)
Build Gesture Image
CanMovePage = bool Function(GestureDetails gestureDetails)
Whether we can move to previous/next page only for Image
CanScaleImage = bool Function(GestureDetails details)
Whether should scale image
CanScrollPage = bool Function(GestureDetails gestureDetails)
Whether we can scroll page
CollectGarbage = void Function(List<int> garbages)
Return indexes of children which are disposed to collect
Condition = bool Function()
Create<T> = T Function(BuildContext context)
A function that creates an object of type T. [...]
Decoder<T> = T Function(dynamic data)
DeferredStartListening<T, R> = VoidCallback Function(InheritedContext<R> context, void setState(R value), T controller, R value)
A callback used to handle the subscription of controller. [...]
DismissSlideActionCallback = void Function(SlideActionType actionType)
Signature used by SlideToDismissDelegate to indicate that it has been dismissed for the given actionType. [...]
Dispose<T> = void Function(BuildContext context, T value)
A function that disposes an object of type T. [...]
DoubleTap = void Function(ExtendedImageGestureState state)
Double tap call back
EasyRefreshChildBuilder = Widget Function(BuildContext context, ScrollPhysics physics, Widget header, Widget footer)
子组件构造器
EditActionDetailsIsChanged = void Function(EditActionDetails details)
Call when EditActionDetails is changed
EditorMaskColorHandler = Color Function(BuildContext context, bool pointerDown)
Get editor mask color base on pointerDown
ErrorBuilder<T> = T Function(BuildContext context, Object error)
A callback used to build a valid value from an error. [...]
FinishLoad = void Function({bool noMore, bool success})
结束加载 success 为是否成功(为false时,noMore无效) noMore 为是否有更多数据
FinishRefresh = void Function({bool noMore, bool success})
结束刷新 success 为是否成功(为false时,noMore无效) noMore 为是否有更多数据
GestureDetailsIsChanged = void Function(GestureDetails details)
Call when GestureDetails is changed
GestureOffsetAnimationCallBack = void Function(Offset offset)
Animation call back for inertia drag
GestureScaleAnimationCallBack = void Function(double scale)
Animation call back for scale
GetControllerBuilder<T extends DisposableInterface> = Widget Function(T controller)
GetPageBuilder = Widget Function()
GetXControllerBuilder<T extends DisposableInterface> = Widget Function(T controller)
HeroBuilderForSlidingPage = Widget Function(Widget widget)
Build Hero only for sliding page the transform of sliding page must be working on Hero so that Hero animation wouldn't be strange when pop page
ImageBuilderForGesture = Widget Function(Widget image)
Build image for gesture, we can handle custom Widget about gesture
IndicatorBuilder = Widget Function(BuildContext context, bool isAssetsEmpty)
InitDestinationRect = void Function(Rect initialDestinationRect)
Return initial destination rect
InitEditorConfigHandler = EditorConfig Function(ExtendedImageState state)
Init GestureConfig when image is ready.
InitGestureConfigHandler = GestureConfig Function(ExtendedImageState state)
Init GestureConfig when image is ready.
InjectorBuilderCallback<S> = S Function(GetInstance)
InstanceBuilderCallback<S> = S Function()
LastChildLayoutTypeBuilder = LastChildLayoutType Function(int index)
The builder to get layout type of last child Notice: it should only for last child
LoadControlBuilder = Widget Function(BuildContext context, LoadMode loadState, double pulledExtent, double loadTriggerPullDistance, double loadIndicatorExtent, AxisDirection axisDirection, bool float, Duration completeDuration, bool enableInfiniteLoad, bool success, bool noMore)
Signature for a builder that can create a different widget to show in the refresh indicator space depending on the current state of the refresh control and the space available. [...]
LoadStateChanged = Widget Function(ExtendedImageState state)
extended_image_typedef.dart create by zmtzawqlp on 2019/4/3
Locator = T Function<T>()
A generic function that can be called to read providers, without having a reference on BuildContext. [...]
LogWriterCallback = void Function(String text, {bool isError})
Voidcallback from logs
MergeEditRect = Rect Function(Rect editRect)
Return merged editRect rect
NotifierBuilder<T> = Widget Function(T state)
OnLoadCallback = Future<void> Function()
A callback function that's invoked when the EasyRefreshSliverLoadControl is pulled a loadTriggerPullDistance. Must return a Future. Upon completion of the Future, the EasyRefreshSliverLoadControl enters the LoadMode.done state and will start to go away.
OnRefreshCallback = Future<void> Function()
A callback function that's invoked when the EasyRefreshSliverRefreshControl is pulled a refreshTriggerPullDistance. Must return a Future. Upon completion of the Future, the EasyRefreshSliverRefreshControl enters the RefreshMode.done state and will start to go away.
OnSlidingPage = void Function(ExtendedImageSlidePageState state)
Call on sliding page
OnTap = void Function(GetBar<Object> snack)
PaintExtentOf = double Function(RenderBox child)
Return paint extent of child
PrintFormatFormatter = Formatter Function(dynamic arg, dynamic options)
PrintFunctionCallback = void Function(String prefix, dynamic value, String info, {bool isError})
Progress = dynamic Function(double percent)
ProviderBuilder<R> = Widget Function(BuildContext context, R value, Widget child)
ProxyProviderBuilder<T, R> = R Function(BuildContext context, T value, R previous)
ProxyProviderBuilder2<T, T2, R> = R Function(BuildContext context, T value, T2 value2, R previous)
ProxyProviderBuilder3<T, T2, T3, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, R previous)
ProxyProviderBuilder4<T, T2, T3, T4, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, R previous)
ProxyProviderBuilder5<T, T2, T3, T4, T5, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, T5 value5, R previous)
ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, R previous)
RatingChangeCallback = void Function(double rating)
RefreshControlBuilder = Widget Function(BuildContext context, RefreshMode refreshState, double pulledExtent, double refreshTriggerPullDistance, double refreshIndicatorExtent, AxisDirection axisDirection, bool float, Duration completeDuration, bool enableInfiniteRefresh, bool success, bool noMore)
Signature for a builder that can create a different widget to show in the refresh indicator space depending on the current state of the refresh control and the space available. [...]
RemoveSubscription<T> = FutureOr<bool> Function(LightSubscription<T> subs)
ShouldRebuild<T> = bool Function(T previous, T next)
Used by providers to determine whether dependents needs to be updated when the value exposed changes
SlideActionBuilder = Widget Function(BuildContext context, int index, Animation<double> animation, SlidableRenderingMode step)
Signature for the builder callback used to create slide actions.
SlideActionWillBeDismissed = FutureOr<bool> Function(SlideActionType actionType)
Signature for determining whether the widget will be dismissed for the given actionType. [...]
SlideEndHandler = bool Function(Offset offset, {ScaleEndDetails details, ExtendedImageSlidePageState state})
if return true ,pop page else reset page state
SlideOffsetHandler = Offset Function(Offset offset, {ExtendedImageSlidePageState state})
customize offset of page when slide page
SlidePageBackgroundHandler = Color Function(Offset offset, Size pageSize)
Build page background when slide page
SlideScaleHandler = double Function(Offset offset, {ExtendedImageSlidePageState state})
Customize scale of page when slide page
SnackbarStatusCallback = void Function(SnackbarStatus status)
StartListening<T> = VoidCallback Function(InheritedContext<T> element, T value)
A callback used to start the listening of an object and return a function that cancels the subscription. [...]
SwiperDataBuilder = Widget Function(BuildContext context, dynamic data, int index)
SwiperOnTap = void Function(int index)
SwiperPaginationBuilder = Widget Function(BuildContext context, SwiperPluginConfig config)
UpdateShouldNotify<T> = bool Function(T previous, T current)
A function that returns true when the update from previous to current should notify listeners, if any. [...]
ValueBuilderBuilder<T> = Widget Function(T snapshot, ValueBuilderUpdateCallback<T> updater)
ValueBuilderUpdateCallback<T> = void Function(T snapshot)
ValueUpdater<T> = T Function()
ViewportBuilder = void Function(int firstIndex, int lastIndex)
The builder to get indexes in viewport if sliver is all out of viewport then return -1,-1
WidgetCallback = Widget Function()
WorkerCallback<T> = dynamic Function(T callback)

Exceptions / Errors

MissingPlatformDirectoryException
An exception thrown when a directory that should always be available on the current platform cannot be obtained.
ProviderNotFoundException
The error that will be thrown if Provider.of fails to find a Provider as an ancestor of the BuildContext used.
ProviderNullException
Called Provider.of<T> instead of Provider.of<T?> but the provider returned null.