universally library Null safety

Classes

AlertConfirmAndCancel
弹出带 确定 和 取消 的按钮 点击 确定 或 取消 自动关闭 Pop up the button with OK and cancel click OK or cancel to automatically close
AlertCountSelect
带取消的 弹窗 单列选择
AlertMessage
弹出带确定的按钮 点击确定自动关闭 Pop up the button with "OK" and click "OK" to automatically close
AlertOnlyMessage
只弹出提示 没有按钮 不能关闭 Only pop-up prompt, no button, can not be closed
AlertSingleChoice
带取消的单选
AlignedGridView
A scrollable, 2D array of widgets placed according to the aligned layout.
AliOSS
AnchorScrollBuilder
滚动至指定index子元素
AnchorScrollController
AndroidActivityResult
AndroidRequestPermissionsResult
AppBarConfig
AppInfoModel
AppPathModel
AppsModel
AreaPicker
省市区三级联动
ArrowPagination
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.
AutoScrollEntry
BackIcon
Badge
组件右上角加红点
BaseClient
The abstract base class for an HTTP client.
BaseEngine
BaseOptions
The common config for the Dio instance. dio.options is a instance of BaseOptions
BaseRequest
The base class for HTTP requests.
BaseResponse
The base class for HTTP responses.
BasicApp
BasicAppBar
BasicCheckbox
BasicCupertinoSwitch
BasicDio
BasicDioOptions
BasicError
BasicFutureBuilder<T>
局部 异步加载数据
BasicList
BasicLoading
loading
BasicMaterialHeader
BasicModel
基础解析数据model
BasicPlaceholder
BasicScaffold
BasicStreamBuilder<T>
局部 异步加载数据
BasicSwitch
BasicText
BasicText
BasicTextField
BezierBackground
Bezier curve background.
BezierCircleHeader
Bezier circle footer. https://dribbble.com/shots/1797373-Pull-Down-To-Refresh
BezierFooter
Bezier footer.
BezierHeader
Bezier header.
BHP
Preferences 配置信息存储
BinaryReader
The BinaryReader is used to bring data back from the binary format on the disk.
BinaryWriter
The BinaryWriter is used to encode data to the binary format.
BottomPadding
BottomSheetOptions
Boundary
extended_image_gesture_utils.dart create by zmtzawqlp on 2019/4/3
Box<E>
Boxes contain all of your data. In the browser, each box has its own IndexedDB database. On all other platforms, each Box is stored in a separate file in the Hive home directory.
BoxBase<E>
Boxes contain all of your data. In the browser, each box has its own IndexedDB database. On all other platforms, each Box is stored in a seperate file in the Hive home directory.
BoxCollection
BoxEvent
A event representing a change in a box.
BText
BTextStyle
BubbleButton
BubbleColor
BuilderFooter
Build footer widget use IndicatorBuilder.
BuilderHeader
Build header widget use IndicatorBuilder.
ByteStream
A stream of chunks of bytes representing a single piece of data.
CacheCompatibilityTester
Tests whether a DrawableRoot should be cache invalidated given old and new external parameter changes.
CancellationToken
CancellationTokenSource
CancelToken
You can cancel a request by using a cancel token. One token can be shared with different requests. when a token's cancel method invoked, all requests with this token will be cancelled.
CarouselController
CarouselControllerImpl
CarouselOptions
CarouselSlider
CarouselSliderState
CaseInsensitiveMap<V>
A map from case-insensitive strings to values.
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.
CheckBox
自定义版
CheckboxState
官方版增加状态
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.
CircleColor
ClassicFooter
Classic footer.
ClassicHeader
Classic header.
CleanCache
清除缓存右边的组件 Clear the component to the right of the cache
Client
The interface for HTTP clients that take care of maintaining persistent connections across multiple requests to the same server.
CollectionBox<V>
represents a Box being part of a BoxCollection
Connectivity
Discover network connectivity configurations: Distinguish between WI-FI and cellular, check WI-FI status and more.
ConnectivityPlusLinuxPlugin
The Linux implementation of ConnectivityPlatform.
ConstIcon
icons
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.
CookiesInterceptor<T>
CountDown
倒计时
CounterAnimation
CropAspectRatios
CupertinoFooter
Cupertino footer. https://github.com/THEONE10211024/WaterDropListView
CupertinoHeader
Cupertino header. https://github.com/THEONE10211024/WaterDropListView
CupertinoLocalizationAf
The translations for Afrikaans (af).
CupertinoLocalizationAm
The translations for Amharic (am).
CupertinoLocalizationAr
The translations for Arabic (ar).
CupertinoLocalizationAs
The translations for Assamese (as).
CupertinoLocalizationAz
The translations for Azerbaijani (az).
CupertinoLocalizationBe
The translations for Belarusian (be).
CupertinoLocalizationBg
The translations for Bulgarian (bg).
CupertinoLocalizationBn
The translations for Bengali Bangla (bn).
CupertinoLocalizationBs
The translations for Bosnian (bs).
CupertinoLocalizationCa
The translations for Catalan Valencian (ca).
CupertinoLocalizationCs
The translations for Czech (cs).
CupertinoLocalizationDa
The translations for Danish (da).
CupertinoLocalizationDe
The translations for German (de).
CupertinoLocalizationDeCh
The translations for German, as used in Switzerland (de_CH).
CupertinoLocalizationEl
The translations for Modern Greek (el).
CupertinoLocalizationEn
The translations for English (en).
CupertinoLocalizationEnAu
The translations for English, as used in Australia (en_AU).
CupertinoLocalizationEnCa
The translations for English, as used in Canada (en_CA).
CupertinoLocalizationEnGb
The translations for English, as used in the United Kingdom (en_GB).
CupertinoLocalizationEnIe
The translations for English, as used in Ireland (en_IE).
CupertinoLocalizationEnIn
The translations for English, as used in India (en_IN).
CupertinoLocalizationEnNz
The translations for English, as used in New Zealand (en_NZ).
CupertinoLocalizationEnSg
The translations for English, as used in Singapore (en_SG).
CupertinoLocalizationEnZa
The translations for English, as used in South Africa (en_ZA).
CupertinoLocalizationEs
The translations for Spanish Castilian (es).
CupertinoLocalizationEs419
The translations for Spanish Castilian, as used in Latin America and the Caribbean (es_419).
CupertinoLocalizationEsAr
The translations for Spanish Castilian, as used in Argentina (es_AR).
CupertinoLocalizationEsBo
The translations for Spanish Castilian, as used in Bolivia (es_BO).
CupertinoLocalizationEsCl
The translations for Spanish Castilian, as used in Chile (es_CL).
CupertinoLocalizationEsCo
The translations for Spanish Castilian, as used in Colombia (es_CO).
CupertinoLocalizationEsCr
The translations for Spanish Castilian, as used in Costa Rica (es_CR).
CupertinoLocalizationEsDo
The translations for Spanish Castilian, as used in the Dominican Republic (es_DO).
CupertinoLocalizationEsEc
The translations for Spanish Castilian, as used in Ecuador (es_EC).
CupertinoLocalizationEsGt
The translations for Spanish Castilian, as used in Guatemala (es_GT).
CupertinoLocalizationEsHn
The translations for Spanish Castilian, as used in Honduras (es_HN).
CupertinoLocalizationEsMx
The translations for Spanish Castilian, as used in Mexico (es_MX).
CupertinoLocalizationEsNi
The translations for Spanish Castilian, as used in Nicaragua (es_NI).
CupertinoLocalizationEsPa
The translations for Spanish Castilian, as used in Panama (es_PA).
CupertinoLocalizationEsPe
The translations for Spanish Castilian, as used in Peru (es_PE).
CupertinoLocalizationEsPr
The translations for Spanish Castilian, as used in Puerto Rico (es_PR).
CupertinoLocalizationEsPy
The translations for Spanish Castilian, as used in Paraguay (es_PY).
CupertinoLocalizationEsSv
The translations for Spanish Castilian, as used in El Salvador (es_SV).
CupertinoLocalizationEsUs
The translations for Spanish Castilian, as used in the United States (es_US).
CupertinoLocalizationEsUy
The translations for Spanish Castilian, as used in Uruguay (es_UY).
CupertinoLocalizationEsVe
The translations for Spanish Castilian, as used in Venezuela (es_VE).
CupertinoLocalizationEt
The translations for Estonian (et).
CupertinoLocalizationEu
The translations for Basque (eu).
CupertinoLocalizationFa
The translations for Persian (fa).
CupertinoLocalizationFi
The translations for Finnish (fi).
CupertinoLocalizationFil
The translations for Filipino Pilipino (fil).
CupertinoLocalizationFr
The translations for French (fr).
CupertinoLocalizationFrCa
The translations for French, as used in Canada (fr_CA).
CupertinoLocalizationGl
The translations for Galician (gl).
CupertinoLocalizationGsw
The translations for Swiss German Alemannic Alsatian (gsw).
CupertinoLocalizationGu
The translations for Gujarati (gu).
CupertinoLocalizationHe
The translations for Hebrew (he).
CupertinoLocalizationHi
The translations for Hindi (hi).
CupertinoLocalizationHr
The translations for Croatian (hr).
CupertinoLocalizationHu
The translations for Hungarian (hu).
CupertinoLocalizationHy
The translations for Armenian (hy).
CupertinoLocalizationId
The translations for Indonesian (id).
CupertinoLocalizationIs
The translations for Icelandic (is).
CupertinoLocalizationIt
The translations for Italian (it).
CupertinoLocalizationJa
The translations for Japanese (ja).
CupertinoLocalizationKa
The translations for Georgian (ka).
CupertinoLocalizationKk
The translations for Kazakh (kk).
CupertinoLocalizationKm
The translations for Khmer Central Khmer (km).
CupertinoLocalizationKn
The translations for Kannada (kn).
CupertinoLocalizationKo
The translations for Korean (ko).
CupertinoLocalizationKy
The translations for Kirghiz Kyrgyz (ky).
CupertinoLocalizationLo
The translations for Lao (lo).
CupertinoLocalizationLt
The translations for Lithuanian (lt).
CupertinoLocalizationLv
The translations for Latvian (lv).
CupertinoLocalizationMk
The translations for Macedonian (mk).
CupertinoLocalizationMl
The translations for Malayalam (ml).
CupertinoLocalizationMn
The translations for Mongolian (mn).
CupertinoLocalizationMr
The translations for Marathi (mr).
CupertinoLocalizationMs
The translations for Malay (ms).
CupertinoLocalizationMy
The translations for Burmese (my).
CupertinoLocalizationNb
The translations for Norwegian Bokmål (nb).
CupertinoLocalizationNe
The translations for Nepali (ne).
CupertinoLocalizationNl
The translations for Dutch Flemish (nl).
CupertinoLocalizationNo
The translations for Norwegian (no).
CupertinoLocalizationOr
The translations for Oriya (or).
CupertinoLocalizationPa
The translations for Panjabi Punjabi (pa).
CupertinoLocalizationPl
The translations for Polish (pl).
CupertinoLocalizationPt
The translations for Portuguese (pt).
CupertinoLocalizationPtPt
The translations for Portuguese, as used in Portugal (pt_PT).
CupertinoLocalizationRo
The translations for Romanian Moldavian Moldovan (ro).
CupertinoLocalizationRu
The translations for Russian (ru).
CupertinoLocalizationSi
The translations for Sinhala Sinhalese (si).
CupertinoLocalizationSk
The translations for Slovak (sk).
CupertinoLocalizationSl
The translations for Slovenian (sl).
CupertinoLocalizationSq
The translations for Albanian (sq).
CupertinoLocalizationSr
The translations for Serbian (sr).
CupertinoLocalizationSrCyrl
The translations for Serbian, using the Cyrillic script (sr_Cyrl).
CupertinoLocalizationSrLatn
The translations for Serbian, using the Latin script (sr_Latn).
CupertinoLocalizationSv
The translations for Swedish (sv).
CupertinoLocalizationSw
The translations for Swahili (sw).
CupertinoLocalizationTa
The translations for Tamil (ta).
CupertinoLocalizationTe
The translations for Telugu (te).
CupertinoLocalizationTh
The translations for Thai (th).
CupertinoLocalizationTl
The translations for Tagalog (tl).
CupertinoLocalizationTr
The translations for Turkish (tr).
CupertinoLocalizationUk
The translations for Ukrainian (uk).
CupertinoLocalizationUr
The translations for Urdu (ur).
CupertinoLocalizationUz
The translations for Uzbek (uz).
CupertinoLocalizationVi
The translations for Vietnamese (vi).
CupertinoLocalizationZh
The translations for Chinese (zh).
CupertinoLocalizationZhHans
The translations for Chinese, using the Han script (zh_Hans).
CupertinoLocalizationZhHant
The translations for Chinese, using the Han script (zh_Hant).
CupertinoLocalizationZhHantHk
The translations for Chinese, as used in Hong Kong, using the Han script (zh_Hant_HK).
CupertinoLocalizationZhHantTw
The translations for Chinese, as used in Taiwan, using the Han script (zh_Hant_TW).
CupertinoLocalizationZu
The translations for Zulu (zu).
CupertinoModalPopupOptions
CupertinoSwitchState
官方版增加状态
Curiosity
CuriosityEvent
CurrentPickerOptions<T>
CustomDismissible
侧滑菜单
CustomDivider
CustomDrawer
CustomFutureBuilder<T>
自定义版 FutureBuilder
CustomPicker<T>
CustomSliverAppBar
CustomStreamBuilder<T>
自定义版 StreamBuilder
DateTimePicker
日期时间选择器
DateTimePickerUnit
DebuggerInterceptor<T>
DebuggerInterceptorDataModel
DebuggerInterceptorHelper
DecoratorBox
Widget 装饰器
DecoratorBoxState
Widget 装饰器 动态焦点样式
DecoratorBoxStyle
DecoratorEntry
DefaultSvgTheme
The SVG theme to apply to descendant SvgPicture widgets which don't have explicit theme values.
DefaultTransformer
DeferredInheritedProvider<T, R>
An InheritedProvider where the object listened is not the object emitted.
DeliveryFooter
Delivery footer. https://dribbble.com/shots/2753803-Refresh-your-delivery
DeliveryHeader
Delivery footer. https://dribbble.com/shots/2753803-Refresh-your-delivery
DES
DES3Engine
DESEngine
DesktopTools
DeviceInfoModel
DialogOptions
关闭 closePopup
Digest
A message digest as computed by a Hash or HMAC function.
Dio
A powerful Http client for Dart, which supports Interceptors, Global configuration, FormData, File downloading etc. and Dio is very easy to use.
DioMixin
DotFlSwiperPagination
底部指示器
DottedLineBorder
DottedLinePainter
虚线
DoubleChooseWindows
DraggableScrollbar
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.
EasyRefresh
A flutter widget that provides pull-down refresh and pull-up load.
EasyRefreshController
Controls a EasyRefresh widget. Control refresh, loading and indicator states.
EasyRefreshData
EasyRefresh needs to share data
EasyRefreshed
EditActionDetails
EditorConfig
EditorCropLayerPainter
ElasticButton
弹性按钮
Engine
ErrorInterceptorHandler
Handler for error interceptor.
ERScrollBehavior
Define ScrollBehavior in the scope of EasyRefresh. Add support for web and PC.
Event<T>
EventBus
EventFactory
ExactAssetPicture
Fetches a picture from an AssetBundle, associating it with the given scale.
ExpansionTiles
ExtendedAssetBundleImageKey
ExtendedAssetImageProvider
ExtendedDio
全局只会存在2个Dio实例 一个常规网络请求 一个下载dio 统一了返回结果 正常返回 、 DioError catch 、 catch 均返回 ResponseModel 全局统一设置 BaseOptions 分 常规网络请求的 ExtendedDioOptions 和 downloadOptions
ExtendedDioOptions
ExtendedExactAssetImageProvider
ExtendedFileImageProvider
ExtendedFlexibleSpaceBar
简化部分参数 FlexibleSpaceBar
ExtendedFutureBuilder<T>
扩展 FutureBuilder
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
ExtendedMemoryImageProvider
ExtendedNetworkImageProvider
ExtendedOverlay
ExtendedOverlayEntry
ExtendedPageController
ExtendedRawImage
A widget that displays a dart:ui.Image directly.
ExtendedRenderImage
ExtendedRenderSliverFillViewport
A sliver that contains multiple box children that each fill the viewport.
ExtendedResizeImage
Instructs Flutter to decode the image at the specified dimensions instead of at its native size.
ExtendedScaffold
ExtendedScaffold
ExtendedScrollView
配合 sliver 家族组件 无需设置高度 自适应高度
ExtendedSliverAppBar
组合使用 FlexibleSpaceBarSliverAppBar bottom 添加PreferredSize 配合 ExtendedScrollView 使用 无需设置 expandedHeight
ExtendedSliverFillViewport
A sliver that contains multiple box children that each fills the viewport.
ExtendedSliverPersistentHeader
初始化 delegate 参数
ExtendedStatefulBuilder
StatefulBuilder 扩展
ExtendedStreamBuilder<T>
扩展 StreamBuilder
ExtendedTextField
ExtendedWidgetsApp
ExtendedWidgetsApp
FilePickerOptionsWithMacOS
macos 文件选择器
FilePicture
Decodes the given File object as a picture, associating it with the given scale.
FlSwiper
FlSwiperController
FlSwiperCustomPagination
FlSwiperPagination
底部指示器组件
FlSwiperPlugin
FlSwiperPluginConfig
Footer indicator.
FooterLocator
Find Footer's Location Put the last item in the list it will smartly show Footer
FooterNotifier
Footer notifier Footer status and Notifications
FormData
A class to create readable "multipart/form-data" streams. It can be used to submit forms and file uploads to http server.
FractionPagination
底部指示器
FrameSeparateTaskQueue
Copyright 2020 ke.com. All rights reserved. @date 5/7/21 11:10 AM @desc Split the frame queue and add tasks to the queue through the ScheduleTask. By default, there is no limit to the size of the queue, so limit the size after setting maxTaskSize.
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
FrameSeparateWidgetState
FutureProvider<T>
Listens to a Future and exposes its result to child and its descendants.
GalleryOptions
GalleryTools
GeneralModalOptions
GestureAnimation
GestureConfig
GestureDetails
GestureLock
九宫格解锁
GesturePageView
GestureZoom
可缩放/平移的盒子小部件
Gif
A widget that renders a Gif controllable with AnimationController.
GifCache
Works as a cache system for already fetched GifInfo.
GifController
Controller that wraps AnimationController and protects the duration parameter. This falls into a design choice to keep the duration control to the Gif widget.
GifInfo
Stores all the ImageInfo and duration of a gif.
GlobalConfig
GlobalCupertinoLocalizations
Implementation of localized strings for Cupertino widgets using the intl package for date and time formatting.
GlobalMaterialLocalizations
Implementation of localized strings for the material widgets using the intl package for date and time formatting.
GlobalOptions
GlobalWidgetsLocalizations
Localized values for widgets.
Hash
An interface for cryptographic hash functions.
Header indicator.
HeaderLocator
Find Header's Location Put the first item in the list it will smartly show Header
HeaderNotifier
Header notifier Header status and Notifications
Headers
HiveAesCipher
Default encryption algorithm. Uses AES256 CBC with PKCS7 padding.
HiveBox
HiveCipher
Abstract cipher can be implemented to customize encryption.
HiveCollection<E extends HiveObjectMixin>
List containing HiveObjectMixins.
HiveField
Annotate all fields you want to persist with HiveField.
HiveInterface
The main API interface of Hive. Available through the Hive constant.
HiveList<E extends HiveObjectMixin>
Allows defining references to other HiveObjectMixins.
HiveObject
HiveType
Annotate classes with HiveType to generate a TypeAdapter.
Hmac
An implementation of keyed-hash method authentication codes.
HttpClientAdapter
HttpAdapter is a bridge between Dio and HttpClient.
HttpClientHelper
IconBox
Indicator
指示器
IndicatorNotifier
Indicator data and trigger notification.
IndicatorPainter
IndicatorState
Indicator properties and state.
IndicatorStateListenable
Indicator state listenable.
InheritedContext<T>
A BuildContext associated to an InheritedProvider.
InheritedProvider<T>
A generic implementation of an InheritedWidget.
InitialRenderSizeChangedWithCallback
InputBorderStyle
按回车时调用 先调用此方法 然后调用onSubmitted方法 final VoidCallback? onEditingComplete; final ValueCallback
Interceptor
Dio instance may have interceptor(s) by which you can intercept requests/responses/errors before they are handled by then or catchError. See also:
InterceptorError
Interceptors
Interceptors are a queue, and you can add any number of interceptors, All interceptors will be executed in first in first out order.
InterceptorsWrapper
InterceptorsWrapper is a helper class, which is used to conveniently create interceptor(s). See also:
ItemSizeInfoNotifier
Copyright 2020 ke.com. All rights reserved. @date 5/7/21 11:53 AM @desc Pass up the Size information of the child node
JsonConverter<T, S>
Implement this class to provide custom converters for a specific Type.
JsonEnum
Allows configuration of how enum elements are treated as JSON.
JsonKey
An annotation used to specify how a field is serialized.
JsonLiteral
An annotation used to generate a private field containing the contents of a JSON file.
JsonParse
JsonSerializable
An annotation used to specify a class to generate code for.
JsonValue
An annotation used to specify how a enum value is serialized.
LayoutInfoNotification
Copyright 2020 ke.com. All rights reserved. @date 5/7/21 2:12 PM
LazyBox<E>
LazyBoxes don't keep the values in memory like normal boxes. Each time a value is read, it is loaded from the backend.
LiquidProgress
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.
ListenerFooter
Listener footer. Listen to the indicator state and respond anywhere.
ListenerHeader
Listener header. Listen to the indicator state and respond anywhere.
ListEntry
ListParam<T>
ListWheel
ListWheelState
解决父组件重新 build 时 改变子元素长度后显示异常问题 添加支持初始位置
Loading
LoadingOptions
LoggerInterceptor<T>
LogInterceptor
LogInterceptor is used to print logs during network requests. It's better to add LogInterceptor to the tail of the interceptor queue, otherwise the changes made in the interceptor behind A will not be printed out. This is because the execution of interceptors is in the order of addition.
MacOSWebView
MainBasicScaffold
添加android 限制返回按键
MainBottomBar
MasonryGridView
A scrollable, 2D array of widgets placed according to the masonry layout.
MaterialFooter
Material footer.
MaterialHeader
Material header.
MaterialLocalizationAf
The translations for Afrikaans (af).
MaterialLocalizationAm
The translations for Amharic (am).
MaterialLocalizationAr
The translations for Arabic (ar).
MaterialLocalizationAs
The translations for Assamese (as).
MaterialLocalizationAz
The translations for Azerbaijani (az).
MaterialLocalizationBe
The translations for Belarusian (be).
MaterialLocalizationBg
The translations for Bulgarian (bg).
MaterialLocalizationBn
The translations for Bengali Bangla (bn).
MaterialLocalizationBs
The translations for Bosnian (bs).
MaterialLocalizationCa
The translations for Catalan Valencian (ca).
MaterialLocalizationCs
The translations for Czech (cs).
MaterialLocalizationDa
The translations for Danish (da).
MaterialLocalizationDe
The translations for German (de).
MaterialLocalizationDeCh
The translations for German, as used in Switzerland (de_CH).
MaterialLocalizationEl
The translations for Modern Greek (el).
MaterialLocalizationEn
The translations for English (en).
MaterialLocalizationEnAu
The translations for English, as used in Australia (en_AU).
MaterialLocalizationEnCa
The translations for English, as used in Canada (en_CA).
MaterialLocalizationEnGb
The translations for English, as used in the United Kingdom (en_GB).
MaterialLocalizationEnIe
The translations for English, as used in Ireland (en_IE).
MaterialLocalizationEnIn
The translations for English, as used in India (en_IN).
MaterialLocalizationEnNz
The translations for English, as used in New Zealand (en_NZ).
MaterialLocalizationEnSg
The translations for English, as used in Singapore (en_SG).
MaterialLocalizationEnZa
The translations for English, as used in South Africa (en_ZA).
MaterialLocalizationEs
The translations for Spanish Castilian (es).
MaterialLocalizationEs419
The translations for Spanish Castilian, as used in Latin America and the Caribbean (es_419).
MaterialLocalizationEsAr
The translations for Spanish Castilian, as used in Argentina (es_AR).
MaterialLocalizationEsBo
The translations for Spanish Castilian, as used in Bolivia (es_BO).
MaterialLocalizationEsCl
The translations for Spanish Castilian, as used in Chile (es_CL).
MaterialLocalizationEsCo
The translations for Spanish Castilian, as used in Colombia (es_CO).
MaterialLocalizationEsCr
The translations for Spanish Castilian, as used in Costa Rica (es_CR).
MaterialLocalizationEsDo
The translations for Spanish Castilian, as used in the Dominican Republic (es_DO).
MaterialLocalizationEsEc
The translations for Spanish Castilian, as used in Ecuador (es_EC).
MaterialLocalizationEsGt
The translations for Spanish Castilian, as used in Guatemala (es_GT).
MaterialLocalizationEsHn
The translations for Spanish Castilian, as used in Honduras (es_HN).
MaterialLocalizationEsMx
The translations for Spanish Castilian, as used in Mexico (es_MX).
MaterialLocalizationEsNi
The translations for Spanish Castilian, as used in Nicaragua (es_NI).
MaterialLocalizationEsPa
The translations for Spanish Castilian, as used in Panama (es_PA).
MaterialLocalizationEsPe
The translations for Spanish Castilian, as used in Peru (es_PE).
MaterialLocalizationEsPr
The translations for Spanish Castilian, as used in Puerto Rico (es_PR).
MaterialLocalizationEsPy
The translations for Spanish Castilian, as used in Paraguay (es_PY).
MaterialLocalizationEsSv
The translations for Spanish Castilian, as used in El Salvador (es_SV).
MaterialLocalizationEsUs
The translations for Spanish Castilian, as used in the United States (es_US).
MaterialLocalizationEsUy
The translations for Spanish Castilian, as used in Uruguay (es_UY).
MaterialLocalizationEsVe
The translations for Spanish Castilian, as used in Venezuela (es_VE).
MaterialLocalizationEt
The translations for Estonian (et).
MaterialLocalizationEu
The translations for Basque (eu).
MaterialLocalizationFa
The translations for Persian (fa).
MaterialLocalizationFi
The translations for Finnish (fi).
MaterialLocalizationFil
The translations for Filipino Pilipino (fil).
MaterialLocalizationFr
The translations for French (fr).
MaterialLocalizationFrCa
The translations for French, as used in Canada (fr_CA).
MaterialLocalizationGl
The translations for Galician (gl).
MaterialLocalizationGsw
The translations for Swiss German Alemannic Alsatian (gsw).
MaterialLocalizationGu
The translations for Gujarati (gu).
MaterialLocalizationHe
The translations for Hebrew (he).
MaterialLocalizationHi
The translations for Hindi (hi).
MaterialLocalizationHr
The translations for Croatian (hr).
MaterialLocalizationHu
The translations for Hungarian (hu).
MaterialLocalizationHy
The translations for Armenian (hy).
MaterialLocalizationId
The translations for Indonesian (id).
MaterialLocalizationIs
The translations for Icelandic (is).
MaterialLocalizationIt
The translations for Italian (it).
MaterialLocalizationJa
The translations for Japanese (ja).
MaterialLocalizationKa
The translations for Georgian (ka).
MaterialLocalizationKk
The translations for Kazakh (kk).
MaterialLocalizationKm
The translations for Khmer Central Khmer (km).
MaterialLocalizationKn
The translations for Kannada (kn).
MaterialLocalizationKo
The translations for Korean (ko).
MaterialLocalizationKy
The translations for Kirghiz Kyrgyz (ky).
MaterialLocalizationLo
The translations for Lao (lo).
MaterialLocalizationLt
The translations for Lithuanian (lt).
MaterialLocalizationLv
The translations for Latvian (lv).
MaterialLocalizationMk
The translations for Macedonian (mk).
MaterialLocalizationMl
The translations for Malayalam (ml).
MaterialLocalizationMn
The translations for Mongolian (mn).
MaterialLocalizationMr
The translations for Marathi (mr).
MaterialLocalizationMs
The translations for Malay (ms).
MaterialLocalizationMy
The translations for Burmese (my).
MaterialLocalizationNb
The translations for Norwegian Bokmål (nb).
MaterialLocalizationNe
The translations for Nepali (ne).
MaterialLocalizationNl
The translations for Dutch Flemish (nl).
MaterialLocalizationNo
The translations for Norwegian (no).
MaterialLocalizationOr
The translations for Oriya (or).
MaterialLocalizationPa
The translations for Panjabi Punjabi (pa).
MaterialLocalizationPl
The translations for Polish (pl).
MaterialLocalizationPs
The translations for Pushto Pashto (ps).
MaterialLocalizationPt
The translations for Portuguese (pt).
MaterialLocalizationPtPt
The translations for Portuguese, as used in Portugal (pt_PT).
MaterialLocalizationRo
The translations for Romanian Moldavian Moldovan (ro).
MaterialLocalizationRu
The translations for Russian (ru).
MaterialLocalizationSi
The translations for Sinhala Sinhalese (si).
MaterialLocalizationSk
The translations for Slovak (sk).
MaterialLocalizationSl
The translations for Slovenian (sl).
MaterialLocalizationSq
The translations for Albanian (sq).
MaterialLocalizationSr
The translations for Serbian (sr).
MaterialLocalizationSrCyrl
The translations for Serbian, using the Cyrillic script (sr_Cyrl).
MaterialLocalizationSrLatn
The translations for Serbian, using the Latin script (sr_Latn).
MaterialLocalizationSv
The translations for Swedish (sv).
MaterialLocalizationSw
The translations for Swahili (sw).
MaterialLocalizationTa
The translations for Tamil (ta).
MaterialLocalizationTe
The translations for Telugu (te).
MaterialLocalizationTh
The translations for Thai (th).
MaterialLocalizationTl
The translations for Tagalog (tl).
MaterialLocalizationTr
The translations for Turkish (tr).
MaterialLocalizationUk
The translations for Ukrainian (uk).
MaterialLocalizationUr
The translations for Urdu (ur).
MaterialLocalizationUz
The translations for Uzbek (uz).
MaterialLocalizationVi
The translations for Vietnamese (vi).
MaterialLocalizationZh
The translations for Chinese (zh).
MaterialLocalizationZhHans
The translations for Chinese, using the Han script (zh_Hans).
MaterialLocalizationZhHant
The translations for Chinese, using the Han script (zh_Hant).
MaterialLocalizationZhHantHk
The translations for Chinese, as used in Hong Kong, using the Han script (zh_Hant_HK).
MaterialLocalizationZhHantTw
The translations for Chinese, as used in Taiwan, using the Han script (zh_Hant_TW).
MaterialLocalizationZu
The translations for Zulu (zu).
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.
ModalWindows
模态框背景
ModalWindowsOptions
MultiColumnLinkagePicker
多列选择 联动
MultiColumnPicker
多列选择 不联动
MultipartFile
A file to be uploaded as part of a MultipartRequest. This doesn't need to correspond to a physical file.
MultipartRequest
A multipart/form-data request.
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.
NativeTools
NetworkPicture
Fetches the given URL from the network, associating it with the given scale.
NetworkPictureKeyData
The PictureKey.keyData for a NetworkPicture.
NoScrollBehavior
NotLoadFooter
Parameters when EasyRefresh.onLoad is null. Overscroll behavior of ScrollView.
NotRefreshHeader
Parameters when EasyRefresh.onRefresh is null. Overscroll behavior of ScrollView.
NumberLimitFormatter
数字输入的精确控制
OneFramePictureStreamCompleter
Manages the loading of dart:ui.Picture objects for static PictureStreams (those with only one frame).
Options
Every request can pass an Options object which will be merged with Dio.options
OverrideFooter
Override the Footer parameter. First of all you have to make it clear that this is feasible, otherwise please don't use it.
OverrideHeader
Override the Header parameter. First of all you have to make it clear that this is feasible, otherwise please don't use it.
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.
PhoenixFooter
Phoenix footer. https://github.com/Yalantis/Phoenix
PhoenixHeader
Phoenix header. https://github.com/Yalantis/Phoenix
PickerEntry
PickerLinkageEntry
PickerOptions<T>
PickerStatefulWidget<T>
PickerStatelessWidget<T>
PickerSubject<T>
PickerWheelOptions
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.
PinBox
PinTextFieldBuilderConfig
PlaceholderChild
暂无数据
Progress
ProjectConfig
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.
PushSwitchState
消息推送开关
QueuedInterceptor
Serialize the request/response/error before they enter the interceptor.
QueuedInterceptorsWrapper
QueuedInterceptorsWrapper is a helper class, which is used to conveniently create QueuedInterceptor(s). See also:
QuiltedGridRepeatPattern
Defines how a pattern is repeating.
QuiltedGridTile
A tile for SliverQuiltedGridDelegate.
ReassembleHandler
If you need your provider to be notified when 'Hot Reload' occurs, use this class
RedirectRecord
RefreshConfig
RefreshController
RefreshControllers
RefreshScrollView
可刷新的滚动组件 嵌套 sliver 家族组件
RenderSliverMasonryGrid
A sliver that places multiple box children in a two dimensional arrangement.
Request
An HTTP request where the entire request body is known in advance.
RequestInterceptorHandler
Handler for request interceptor.
RequestOptions
Response<T>
Response describes the http Response info.
ResponseBody
ResponseInterceptorHandler
Handler for response interceptor.
ResponseModel<T>
RetryHelper
RText
RichText 魔改版 建议使用 BText.rich,动态配置字体颜色
SaveFilePickerOptionsWithMacOS
macos 保存文件选择器
ScanCodeShowPage
ScreenAdaptation
ScreenAdaptationScope
ScrollList
ScrollNotificationListener
滚动事件监听器
SecondaryBuilderFooter
Secondary builder footer.
SecondaryBuilderHeader
Secondary builder header.
SecondaryFooter
Secondary footer. Combine existing Footer with secondary.
SecondaryHeader
Secondary header. Combine existing Header with secondary.
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.
SendSMS
发送验证码
SimpleButton
SimpleRefresh
SingleColumnPicker
单列选择
SingleListPicker
list 单多项选择器
SingleListPickerOptions
SizeCacheWidget
Copyright 2020 ke.com. All rights reserved. @date 5/7/21 2:13 PM @desc <int,Size> > Cache child node information
SizeCacheWidgetState
SliverAlignedGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverListGrid
组合SliverListSliverGridSliverFixedExtentList
SliverMasonryGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverMasonryGridParentData
Parent data structure used by RenderSliverMasonryGrid.
SliverPinnedPersistentHeader
SliverPinnedPersistentHeaderDelegate
SliverPinnedPersistentHeaderRenderObjectWidget
SliverPinnedToBoxAdapter
SliverQuiltedGridDelegate
Controls the layout of a quilted grid.
SliverSimpleGridDelegate
Controls the layout of tiles in a some slivers.
SliverSimpleGridDelegateWithFixedCrossAxisCount
Creates grid layouts with a fixed number of tiles in the cross axis.
SliverSimpleGridDelegateWithMaxCrossAxisExtent
Creates grid layouts with tiles that each have a maximum cross-axis extent.
SliverStairedGridDelegate
Controls the layout of tiles in a staired grid.
SliverWaterfallFlow
瀑布流 添加empty视图
SliverWovenGridDelegate
Controls the layout of tiles in a woven grid.
SpinKit
SpinKitCircle
SpinKitCubeGrid
SpinKitDoubleBounce
SpinKitDualRing
SpinKitFadingCircle
SpinKitFadingFour
SpinKitFoldingCube
SpinKitPulse
SpinKitRing
SpinKitRipple
SpinKitSquareCircle
SpinKitThreeBounce
SpinKitWanderingCubes
SpinKitWave
StaggeredGrid
A grid which lays out children in a staggered arrangement. Each child can have a different size. Wrap your children with a StaggeredGridTile to specify their size if it's different from a 1x1 tile.
StaggeredGridTile
Represents the size of a StaggeredGrid's tile.
StairedGridTile
A tile of a staired pattern.
StreamedRequest
An HTTP request where the request body is sent asynchronously after the connection has been established and the headers have been sent.
StreamedResponse
An HTTP response where the response body is received asynchronously after the headers have been received.
StreamProvider<T>
Listens to a Stream and exposes its content to child and descendants.
StringPicture
Decodes the given String as a picture, associating it with the given scale.
Svg
A utility class for decoding SVG data to a DrawableRoot or a PictureInfo.
SVGAsset
SVGNetwork
SvgPicture
A widget that will parse SVG data into a Picture using a PictureProvider.
SvgTheme
A theme used when decoding an SVG picture.
SwitchState
官方版增加状态
SystemUiOverlayStyleDark
SystemUiOverlayStyleLight
TabBarBox
TabBarMerge
TabBarTabBarView 外层添加 常用属性
TaskEntry<T>
TaurusFooter
Taurus footer. https://github.com/Yalantis/Taurus
TaurusHeader
Taurus header. https://github.com/Yalantis/Taurus
TextColor
TextDefault
默认字体 The default font
TextLarge
Large font
TextSmall
小字体 Small font
TextVeryLarge
Very large font
Toast
ToastOptions
ToggleRotate
旋转组件
Transformer
Transformer allows changes to the request/response data before it is sent/received to/from the server.
TStyle
BasicTextStyle
TypeAdapter<T>
Type adapters can be implemented to support non primitive values.
TypeRegistry
TypeRegistries contain the TypeAdapters associated with a typeId.
UAS
UButton
UConstant
UCS
UIS
Universal
UrlCache
接口数据缓存
UrlLauncher
USpacing
UStyle
UTSModel
ValueBuilder<T>
Example:
ValueListenableProvider<T>
Listens to a ValueListenable and exposes its current value.
ValueListenBuilder<T>
VersionInfoModel
WatchBoxBuilder
A general-purpose widget which rebuilds itself when the box or a specific key change.
Wave
WebResourceError
WebViewConfiguration
Additional configuration options for LaunchMode.inAppWebView.
WheelOptions
WovenGridTile
A tile of a woven pattern.

Mixins

ExtendedImageProvider<T extends Object>
HiveObjectMixin
Extend HiveObject to add useful methods to the objects you want to store in Hive
OptionsMixin

Extensions

BoxX
Flutter extensions for boxes.
DoubleExtension
Returns a value indicating whether two instances of Double represent the same value.
ExtensionAreaPicker
ExtensionBaseOptions
ExtensionBool
ExtensionBorderType
ExtensionColor
ExtensionContext
ExtensionCustomPicker
ExtensionDateTime
DateTime 扩展
ExtensionDateTimePicker
ExtensionDoubleChooseWindows
ExtensionDuration
ExtensionFlex
ExtensionFocusScopeContext
ExtensionFunction
ExtensionFutureFunction
ExtensionGlobalKey
ExtensionInt
int 扩展
ExtensionIterableDouble
ExtensionIterableE
Utility extension methods for the native Iterable class.
ExtensionIterableInt
ExtensionIterableNum
Utility extension methods for Iterables containing nums.
ExtensionIterableT
ExtensionList
ExtensionListString
ExtensionListUnsafe
ExtensionLoading
ExtensionMap
ExtensionMapUnsafe
ExtensionMultiColumnLinkagePicker
ExtensionMultiColumnPicker
ExtensionNavigatorStateContext
ExtensionNotificationListener
ExtensionNum
num 扩展
ExtensionRoutePushStyle
ExtensionSingleColumnPicker
ExtensionSingleListPicker
ExtensionString
String 扩展
ExtensionStringUnsafe
ExtensionT
ExtensionTextInputLimitFormatter
ExtensionToast
ExtensionToastStyle
ExtensionUint8List
ExtensionWidget
ExtensionWidgetMethod
FuturePermissionStatusGetters
Utility getter extensions for the Future<PermissionStatus> type.
FutureServiceStatusGetters
Utility getter extensions for the Future<ServiceStatus> type.
HiveX
Flutter extensions for Hive.
LazyBoxX
Flutter extensions for lazy boxes.
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.
PermissionStatusGetters
Utility getter extensions for the PermissionStatus type.
ReadContext
Exposes the read method.
RectExtension
SelectContext
Adds a select method on BuildContext.
ServicePermissionActions
Actions that apply only to permissions that have an associated service.
ServiceStatusGetters
Utility getter extensions for the ServiceStatus type.
WatchContext
Exposes the watch method.

Constants

area → const Map<String, dynamic>
<String, dynamic>{'北京市' : {'市辖区' : {'东城区' : ['东华门街道', '景山街道', '交道口街道', '安定门街道', '北新桥街道', '东四街道', '朝阳门街道', '建国门…
bkFrame → const String
You can customize the component's log tag to make it easy to quickly define your own log
'BKFrame'
cacheImageFolderName → const String
'cacheimage'
chunkedCoding → const ChunkedCodingCodec
The canonical instance of ChunkedCodingCodec.
ChunkedCodingCodec._()
httpContentType → const List<String>
请求数据类型 (4种): application/x-www-form-urlencoded 、multipart/form-data、application/json、text/xml
<String>['application/x-www-form-urlencoded', 'multipart/form-data', 'application/json', 'text/xml']
kBezierBackgroundDisappearDuration → const Duration
Default disappear animation duration.
Duration(milliseconds: 300)
kBezierCircleDisappearDuration → const Duration
Duration(milliseconds: 800)
kDefaultAutoPlayDelay → const Duration
default auto play Duration
Duration(seconds: 3)
kDefaultAutoPlayTransitionDuration → const Duration
Default auto play transition duration
Duration(milliseconds: 400)
kDefaultSecondaryCloseTriggerOffset → const double
The default secondary close trigger offset.
70.0
kDefaultSecondaryVelocity → const double
The default opening speed of the secondary.
3000.0
kDeliveryDisappearDuration → const Duration
Delivery indicator disappear animation duration.
Duration(milliseconds: 500)
kDeliveryTriggerOffset → const double
Delivery indicator trigger offset.
150.0
kPickerDefaultHeight → const double
180
kPickerDefaultWidth → const double
90
kTaurusDisappearDuration → const Duration
Taurus indicator disappear animation duration.
Duration(milliseconds: 250)
md5 → const Hash
An implementation of the MD5 hash function.
_MD5._()
minGesturePageDelta → const double
5.0
minMagnitude → const double
400.0
refreshEvent → const String
'refreshEvent'
sha1 → const Hash
An implementation of the SHA-1 hash function.
_Sha1._()
sha224 → const Hash
An implementation of the SHA-224 hash function.
_Sha224._()
sha256 → const Hash
An implementation of the SHA-256 hash function.
_Sha256._()
sha384 → const Hash
An implementation of the SHA-384 hash function.
_Sha384._()
sha512 → const Hash
An implementation of the SHA-512 hash function.
_Sha512._()
sha512224 → const Hash
An implementation of the SHA-512/224 hash function.
_Sha512224()
sha512256 → const Hash
An implementation of the SHA-512/256 hash function.
_Sha512256()
velocity → const double
minMagnitude / 1000.0

Properties

bitShifts List<int>
Cumulative bit shift constants
read / write
deviceHeight double
手机屏幕高
read-only
deviceWidth double
手机屏幕的宽
read-only
devPassword String
read / write
devUserName String
dev user
read / write
getAccessibleNavigation bool
accessibleNavigation → bool 用户是否使用TalkBack或VoiceOver等辅助功能服务与应用程序进行交互。
read-only
getBoldText bool
alwaysUse24HourFormat → bool 格式化时间时是否使用24小时格式。
read-only
getBottomNavigationBarHeight double
获取导航栏高度
read-only
getDevicePixelRatio double
devicePixelRatio → double 单位逻辑像素的设备像素数量,即设备像素比。这个数字可能不是2的幂,实际上它甚至也可能不是整数。例如,Nexus 6的设备像素比为3.5。
read-only
getDeviceSize Size
size → Size 设备尺寸信息,如屏幕的大小,单位 pixels
read-only
getDisableAnimations bool
disableAnimations → bool 平台是否要求尽可能禁用或减少使用动画。
read-only
getHeightPixel double
手机屏幕高分辨率
read-only
getInvertColors bool
invertColors → bool 设备是否反转平台的颜色
read-only
getOrientation Orientation
orientation → Orientation 屏幕方向(横向/纵向)
read-only
getPadding EdgeInsets
padding → EdgeInsets 显示器的部分被系统UI部分遮挡,通常由硬件显示“凹槽”或系统状态栏
read-only
getPlatformBrightness Brightness
platformBrightness → Brightness 当前的亮度模式
read-only
getStatusBarHeight double
获取状态栏高度
read-only
getTextScaleFactor double
textScaleFactor → double 每个逻辑像素的字体像素数
read-only
getViewInsets EdgeInsets
viewInsets → EdgeInsets 显示器的各个部分完全被系统UI遮挡,通常是设备的键盘
read-only
getViewPadding EdgeInsets
viewPadding → EdgeInsets 显示器的部分被系统UI部分遮挡,通常由硬件显示“凹槽”或系统状态栏
read-only
getWidthPixel double
手机屏幕的宽分辨率
read-only
read / write
hasLogTs bool
beta 版本 是否显示log
read / write
Hive HiveInterface
Global constant to access Hive.
final
imageCaches Map<String, ImageCache>
The imageCaches to store custom ImageCache
read / write
isAndroid bool
read-only
isBeta bool
是否是内测版
read / write
isDebug bool
read-only
isDesktop bool
read-only
isFuchsia bool
read-only
isIOS bool
read-only
isLinux bool
read-only
isMacOS bool
read-only
isMobile bool
read-only
isPad bool
read / write
isProfile bool
read-only
isRelease bool
read-only
isWeb bool
read-only
isWindows bool
read-only
kCupertinoSupportedLanguages Set<String>
The set of supported languages, as language code strings.
final
kMaterialSupportedLanguages Set<String>
The set of supported languages, as language code strings.
final
mediaQuery MediaQueryData
read-only
pc1 List<int>
Permuted Choice 1 constants
read / write
pc2 List<int>
Permuted Choice 2 constants
read / write
pullDown bool
下拉刷新
read / write
pullUp bool
上拉加载
read / write
rawImageDataMap Map<ExtendedImageProvider, Uint8List>
The cached raw image data
read / write
sBoxMask List<int>
Masks that select the sBox input
read / write
sBoxP List<Map<int, int>>
sBoxP and round permutation constants
read / write
svg Svg
Instance for Svg's utility methods, which can produce a DrawableRoot or PictureInfo from String or Uint8List.
final

Functions

$checkedConvert<T>(Map map, String key, T castFunc(dynamic), {Object? readValue(Map, String)?}) → T
Helper function used in generated code when JsonSerializableGenerator.checked is true.
$checkedCreate<T>(String className, Map map, T constructor(S (String, S (Object?), {Object? readValue(Map, String)?})), {Map<String, String> fieldKeyMap = const {}}) → T
Helper function used in generated code when JsonSerializableGenerator.checked is true.
$checkedNew<T>(String className, Map map, T constructor(), {Map<String, String>? fieldKeyMap}) → T
Helper function used in generated code when JsonSerializableGenerator.checked is true.
$checkKeys(Map map, {List<String>? allowedKeys, List<String>? requiredKeys, List<String>? disallowNullValues}) → void
Helper function used in generated fromJson code when JsonSerializable.disallowUnrecognizedKeys is true for an annotated type or JsonKey.required is true for any annotated fields.
$enumDecode<K extends Enum, V>(Map<K, V> enumValues, Object? source, {K? unknownValue}) → K
Returns the key associated with value source from enumValues, if one exists.
$enumDecodeNullable<K extends Enum, V>(Map<K, V> enumValues, Object? source, {Enum? unknownValue}) → K?
Returns the key associated with value source from enumValues, if one exists.
addObserver(WidgetsBindingObserver observer) → void
addPersistentFrameCallback(FrameCallback duration) → void
addPostFrameCallback(FrameCallback duration) → void
addTimingsCallback(TimingsCallback callback) → void
alertOnlyMessage(String? text, {bool autoOff = true}) ExtendedOverlayEntry?
cachedImageExists(String url, {String? cacheKey}) Future<bool>
Check if the image exists in cache
canLaunch(String urlString) Future<bool>
Checks whether the specified URL can be handled by some app installed on the device.
@Deprecated('Use canLaunchUrl instead')
canLaunchUrl(Uri url) Future<bool>
Checks whether the specified URL can be handled by some app installed on the device.
clampScale(double scale, double min, double max) double
clearDiskCachedImage(String url, {String? cacheKey}) Future<bool>
Clear the disk cache image then return if it succeed.
clearDiskCachedImages({Duration? duration}) Future<bool>
Clear the disk cache directory then return if it succeed.
clearGestureDetailsCache() → void
clear the gesture details
clearMemoryImageCache([String? name]) → void
clear all of image in memory
closeAllOverlay() → void
关闭所有Overlay
closeInAppWebView() Future<void>
Closes the current in-app web view, if one was previously opened by launchUrl.
closeLoading() bool
closeOverlay({ExtendedOverlayEntry? entry}) bool
关闭最顶层的Overlay
closePopup([dynamic value]) Future<bool>
关闭弹窗 也可以通过 Navigator.of(context).maybePop()
closeToast() bool
closeWebView() Future<void>
Closes the current WebView, if one was previously opened via a call to launch.
@Deprecated('Use closeInAppWebView instead')
createLocalPictureConfiguration(BuildContext? context, {Rect? viewBox, ColorFilter? colorFilterOverride, Color? color, BlendMode? colorBlendMode}) PictureConfiguration
Creates an PictureConfiguration based on the given BuildContext (and optionally size).
defaultEditorMaskColorHandler(BuildContext context, bool pointerDown) Color
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
delete(Uri url, {Map<String, String>? headers, Object? body, Encoding? encoding}) Future<Response>
Sends an HTTP DELETE request with the given headers to the given URL.
eventDestroy() → void
eventListen(void onData(dynamic event)) → void
formatHttpDate(DateTime date) String
Return a HTTP-formatted string representation of date.
get(Uri url, {Map<String, String>? headers}) Future<Response>
Sends an HTTP GET request with the given headers to the given URL.
getAllPermissions(List<Permission> permissions, String? text, {bool showAlert = true, Function? alert, GestureTapCallback? cancelTap}) Future<bool>
必须获取通过全部权限 You must obtain all permissions
getBoxShadow({int num = 1, Color color = Colors.black12, double? radius, BlurStyle blurStyle = BlurStyle.normal, double blurRadius = 0.05, double spreadRadius = 0.05, Offset? offset}) List<BoxShadow>
getCachedImageFile(String url, {String? cacheKey}) Future<File?>
Get the local file of the cached image
getCachedImageFilePath(String url, {String? cacheKey}) Future<String?>
Get the local file path of the cached image
getCachedSizeBytes() Future<int>
Get total size of cached image
getCupertinoTranslation(Locale locale, DateFormat fullYearFormat, DateFormat dayFormat, DateFormat mediumDateFormat, DateFormat singleDigitHourFormat, DateFormat singleDigitMinuteFormat, DateFormat doubleDigitMinuteFormat, DateFormat singleDigitSecondFormat, NumberFormat decimalFormat) GlobalCupertinoLocalizations?
Creates a GlobalCupertinoLocalizations instance for the given locale.
getDestinationRect({required Rect rect, required Size inputSize, double scale = 1.0, BoxFit? fit, Alignment alignment = Alignment.center, Rect? centerSlice, bool flipHorizontally = false}) Rect
getMaterialTranslation(Locale locale, DateFormat fullYearFormat, DateFormat compactDateFormat, DateFormat shortDateFormat, DateFormat mediumDateFormat, DateFormat longDateFormat, DateFormat yearMonthFormat, DateFormat shortMonthDayFormat, NumberFormat decimalFormat, NumberFormat twoDigitZeroPaddedFormat) GlobalMaterialLocalizations?
Creates a GlobalMaterialLocalizations instance for the given locale.
getMemoryImageCache([String? name]) ImageCache?
get ImageCache
getNetworkImageData(String url, {bool useCache = true, StreamController<ImageChunkEvent>? chunkEvents}) Future<Uint8List?>
get network image data from cached
getPermission(Permission permission, String? text, {bool showAlert = true, Function? alert, GestureTapCallback? cancelTap}) Future<bool>
单独获取一个权限 Get a separate permission
Sends an HTTP HEAD request with the given headers to the given URL.
kBezierFrictionFactor(double overscrollFraction) double
Friction factor used by bezier curves.
kBezierHorizontalFrictionFactor(double overscrollFraction) double
Horizontal friction factor used by bezier curves.
kBezierSpringBuilder({required IndicatorMode mode, required double offset, required double actualTriggerOffset, required double velocity}) SpringDescription
Spring used by bezier curves.
kCupertinoFrictionFactor(double overscrollFraction) double
kCupertinoHorizontalFrictionFactor(double overscrollFraction) double
keyToMd5(String key) String
get md5 from key
kMaterialFrictionFactor(double overscrollFraction) double
Friction factor used by material.
kMaterialHorizontalFrictionFactor(double overscrollFraction) double
Friction factor used by material horizontal.
kMaterialSpringBuilder({required IndicatorMode mode, required double offset, required double actualTriggerOffset, required double velocity}) SpringDescription
Spring description used by material.
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.
@Deprecated('Use launchUrl instead')
launchUrl(Uri url, {LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), String? webOnlyWindowName}) Future<bool>
Passes url to the underlying platform for handling.
log(dynamic msg, {bool? crossLine}) → void
logcat(String info) → void
logDebug(dynamic msg) → void
logJson(dynamic data) → void
maybePop<T extends Object>([T? result]) Future<bool>
可能返回到上一个页面
openAppSettings() Future<bool>
Opens the app settings page.
paintExtendedImage({required Canvas canvas, required Rect rect, required Image image, String? debugImageLabel, double scale = 1.0, double opacity = 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, EdgeInsets layoutInsets = EdgeInsets.zero}) → void
parseHttpDate(String date) DateTime
Parses an HTTP-formatted date into a UTC DateTime.
patch(Uri url, {Map<String, String>? headers, Object? body, Encoding? encoding}) Future<Response>
Sends an HTTP PATCH request with the given headers and body to the given URL.
pickerArea({String? defaultProvince, String? defaultCity, String? defaultDistrict, BottomSheetOptions? options}) Future<String?>
省市区选择器
pickerCustom<T>(Widget content, {String title = '', PickerTapConfirmCallback<T>? confirmTap, PickerTapCancelCallback<T?>? cancelTap, PickerSubjectTapCallback<T>? customConfirmTap, PickerSubjectTapCallback<T?>? customCancelTap, Color? backgroundColor, BottomSheetOptions? bottomSheetOptions, double height = 250}) Future<T?>
pickerDateTime({DateTime? startDate, DateTime? defaultDate, DateTime? endDate, int? dateTimeType, ValueCallback<String>? confirmTap, BottomSheetOptions? options}) Future<String?>
日期选择器
pickerMultipleChoice<T>(String title, {required int itemCount, required IndexedWidgetBuilder itemBuilder, BottomSheetOptions? options}) Future<int?>
多条数据列表选择器
pickerSingleChoice(List<String> list, {BottomSheetOptions? options}) Future<int?>
底部有取消的单选 返回数组index
pop<T extends Object>([T? result, bool isMaybe = false]) Future<bool?>
返回上一个页面
popBack(Future navigator, {bool nullBack = false, bool useMaybePop = false}) → void
pop 返回简写 带参数 nullBack =true navigator 返回为空 就继续返回上一页面
popUntil(RoutePredicate predicate) → void
循环pop 直到pop至指定页面
post(Uri url, {Map<String, String>? headers, Object? body, Encoding? encoding}) Future<Response>
Sends an HTTP POST request with the given headers and body to the given URL.
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.
push<T extends Object?, TO extends Object?>(Widget widget, {bool maintainState = true, bool fullscreenDialog = false, RoutePushStyle? pushStyle, RouteSettings? settings, bool replacement = false, TO? result}) Future<T?>
************ 以下为 路由跳转 ***************** ///
pushAndRemoveUntil<T extends Object?>(Widget widget, {bool maintainState = true, bool fullscreenDialog = false, RoutePushStyle? pushStyle, RouteSettings? settings, RoutePredicate? predicate}) Future<T?>
打开新页面 并移出堆栈所有页面
pushReplacement<T extends Object?, TO extends Object?>(Widget widget, {bool maintainState = true, bool fullscreenDialog = false, RoutePushStyle? pushStyle, RouteSettings? settings, TO? result}) Future<T?>
打开新页面替换当前页面
put(Uri url, {Map<String, String>? headers, Object? body, Encoding? encoding}) Future<Response>
Sends an HTTP PUT request with the given headers and body to the given URL.
read(Uri url, {Map<String, String>? headers}) Future<String>
Sends an HTTP GET request with the given headers to the given URL and returns a Future that completes to the body of the response as a String.
readBytes(Uri url, {Map<String, String>? headers}) Future<Uint8List>
Sends an HTTP GET request with the given headers to the given URL and returns a Future that completes to the body of the response as a list of bytes.
removeObserver(WidgetsBindingObserver observer) → void
resultSuccessFail(BasicModel data, {String? text, bool nullPass = false}) bool
nullPass = true data 为null 返回true
rotateOffset(Offset input, Offset center, double angle) Offset
rotateRect(Rect rect, Offset center, double angle) Rect
roundAfter(double number, int position) double
runWithClient<R>(R body(), Client clientFactory(), {ZoneSpecification? zoneSpecification}) → R
Runs body in its own Zone with the Client returned by clientFactory set as the default Client.
sendEvent(dynamic message) → void
showAlertConfirmCancel({String? text, String? confirmText, String? cancelText, String? titleText, GestureTapCallback? confirmTap, GestureTapCallback? cancelTap, bool autoClose = true, Widget? title, Widget? contentText, Widget? content, Widget? cancel, Widget? confirm, DialogOptions? dialogOptions}) Future?
弹出带 确定 和 取消 的按钮 点击 确定 或 取消 自动关闭 Pop up the button with OK and cancel click OK or cancel to automatically close
showAlertCountSelect({required List<String> list, int? defaultIndex, BottomSheetOptions? bottomSheetOptions}) Future<int?>?
带取消的 弹窗 单列选择
showAlertMessage({String? text, String? confirmText, String? titleText, GestureTapCallback? confirmTap, Widget? contentText, Widget? content, Widget? title, Widget? confirm, DialogOptions? dialogOptions}) Future?
弹出消息 提示 仅 带确认按钮 A message is displayed with a confirm button only
showBasicBottomSheet<T>(Widget widget, {bool isScrollControlled = false, BottomSheetOptions? options}) Future<T?>
showBottomPopup 移除背景色 关闭滑动手势
showDoubleChooseAlert({required String title, required String left, required String right, GestureTapCallback? rightTap, GestureTapCallback? leftTap, Widget? center, ModalWindowsOptions? options, DialogOptions? dialogOptions}) Future<bool?>
showLoading({Widget? custom, ModalWindowsOptions? options, Widget? extra, double? value, Color? backgroundColor, Animation<Color>? valueColor, double strokeWidth = 4.0, String? semanticsLabel, String? semanticsValue, LoadingStyle? style}) ExtendedOverlayEntry?
loading 加载框 关闭 closeLoading();
showMenuPopup<T>({required RelativeRect position, required List<PopupMenuEntry<T>> items, T? initialValue, double? elevation, String? semanticLabel, ShapeBorder? shape, Color? color, bool useRootNavigator = false}) Future<T?>
showSnackBar(SnackBar snackBar) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>?
showToast(String message, {ToastStyle? style, IconData? customIcon, ToastOptions? options}) Future<ExtendedOverlayEntry?>
Toast 关闭 closeToast(); 添加 await Toast 关闭后继续执行之后的方法
showUserPrivacyAlert({required String title, required GestureTapCallback onUserAgreementTap, required GestureTapCallback onPrivacyPolicyTap, required GestureTapCallback onConsentTap, ModalWindowsOptions? options}) → void
typeOf<T>() Type
get type from T

Enums

ActionType
AndroidSettingPath
Android 系统设置
Autostart
How to auto start the gif.
BorderType
BuilderState
CameraMode
CarouselPageChangedReason
CenterPageEnlargeStrategy
ConnectivityResult
Connection status check result.
CountAnimationType
CountDownType
DateTimeDist
DecoratorPositioned
DioErrorType
DrawableTextAnchorPosition
How to anchor text.
EasyRefreshType
刷新类型
ExtendedImageMode
FieldRename
Values for the automatic field renaming behavior for JsonSerializable.
FlashMode
闪光灯模式
FlSwiperEvent
FlSwiperLayout
FontType
GradientUnitMode
Determines how to transform the points given for a gradient.
HiveStorageBackendPreference
declares the preferred JS StorageBackend to be used
IndicatorMode
The current state of the indicator (Header or Footer).
IndicatorPosition
The position of the indicator.
IndicatorResult
The status returned after the task is completed.
IndicatorType
InitCropRectType
InitialAlignment
init image rect with alignment when initialScale > 1.0 see https://github.com/fluttercandies/extended_image/issues/66
LaunchMode
The desired mode to launch a URL.
LinearStrokeCap
LiquidProgressType
ListFormat
ListFormat specifies the array format (a single parameter with multiple parameter or multiple parameters with the same name) and the separator for array items.
ListWheelChildDelegateType
LoadingState
LoadingStyle
LoadState
MacOSSettingPath
PermissionStatus
Defines the state of a Permission.
PopupFromStyle
弹窗进入方向属性
PresentationStyle
QualityType
视频质量
RefreshState
ResponseType
ResponseType indicates which transformation should be automatically applied to the response data by Dio.
RoutePushStyle
ScreenAdaptationScaleType
none: 不做缩放 auto: 竖屏按宽缩放,横屏(宽 >= 高 * 1.1)不缩放 width: 按宽缩放
ScrollbarStyle
SendState
ServiceStatus
Defines the different states a service can be in.
SlideAxis
SlideType
SpinKitStyle
SpinKitWaveType
TabBarLevelPosition
TabBarLevel 位置
TextInputLimitFormatter
ToastStyle
Toast类型 如果使用custom 请设置 customIcon
WebResourceErrorType

Typedefs

AfterPaintImage = void Function(Canvas canvas, Rect rect, Image image, Paint paint)
Call after paint image
AnchorBuilder = Widget Function(BuildContext context, GlobalKey<State<StatefulWidget>> scrollKey, ScrollController scrollController, bool reverse, Axis scrollDirection, List<GlobalKey<State<StatefulWidget>>> entryKeys)
AsyncSnapshotBuilder<T> = Widget Function(BuildContext context, T data)
BasicDioErrorIntercept = List<InterceptorError> Function(String url, dynamic tag)
BeforePaintImage = bool Function(Canvas canvas, Rect rect, Image image, Paint paint)
rect is render size if return true, it will not paint original image,
BezierSpinBuilder = Widget Function(BuildContext context, double value)
A builder that builds a spin widget. context BuildContext. value Animation value.
BoxWidgetBuilder<T> = Widget Function(BuildContext context, Box<T> box)
Signature for a function that builds a widget given a Box.
@Deprecated('Use [ValueListenableBuilder] and `box.listenable()` instead')
BubbleBuilder = Widget Function(bool isBubbled)
build widget when isBubble is changing
BubbleCallback = Future<bool> Function(bool isBubbled)
BuilderScrollView = Widget Function(BuildContext context, List<Widget> sliver)
BuildGestureImage = Widget Function(GestureDetails gestureDetails)
Build Gesture Image
Callback<T> = void Function()
CallbackFutureT<T> = Future<T> Function()
CallbackT<T> = T Function()
CanProcessCallBack = bool Function()
Indicator widget builder.
CanScaleImage = bool Function(GestureDetails? details)
Whether should scale image
CanScrollPage = bool Function(GestureDetails? gestureDetails)
Whether we can scroll page
CheckBoxStateBuilder = Widget Function(bool? value)
CheckboxStateChanged = Future<bool?> Function(bool? value)
CIMessageBuilder = Widget Function(BuildContext context, IndicatorState state, String text, DateTime dateTime)
Message widget builder.
CIPullIconBuilder = Widget Function(BuildContext context, IndicatorState state, double animation)
Pull icon widget builder.
CITextBuilder = Widget Function(BuildContext context, IndicatorState state, String text)
Text widget builder.
CompactionStrategy = bool Function(int entries, int deletedEntries)
A function which decides when to compact a box.
ConsumerBuilder<T> = Widget Function(Widget child)
CountBuilder = Widget Function(int count, String text)
CountDownBuilder = Widget Function(int i)
Create<T> = T Function(BuildContext context)
A function that creates an object of type T.
CustomBuilderContext = Widget Function(BuildContext context)
CustomFutureBuilderDone<T> = Widget Function(BuildContext context, T data, dynamic reset())
CustomFutureBuilderError = Widget Function(BuildContext context, Object? error, dynamic reset())
CustomFutureBuilderNone = Widget Function(BuildContext context, dynamic reset())
CustomStreamBuilderDone<T> = Widget Function(BuildContext context, T data)
CustomStreamBuilderError = Widget Function(BuildContext context, Object? error)
DecoratorBoxStateBuilder = Widget Function(FocusNode focusNode)
DefaultBuilder = Widget Function(int? index)
初始化 默认显示的Widget
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.
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
EasyRefreshControllerCallback = void Function(EasyRefreshController controller)
EditActionDetailsIsChanged = void Function(EditActionDetails? details)
Call when EditActionDetails is changed
EditorMaskColorHandler = Color Function(BuildContext context, bool pointerDown)
Get editor mask color base on pointerDown
ERChildBuilder = Widget Function(BuildContext context, ScrollPhysics physics)
EasyRefresh child builder. Provide ScrollPhysics, and use it in your ScrollView. ScrollPhysics will not be scoped.
ErrorBuilder<T> = T Function(BuildContext context, Object? error)
A callback used to build a valid value from an error.
ERScrollBehaviorBuilder = ScrollBehavior Function(ScrollPhysics? physics)
EventCallback = void Function(dynamic data)
订阅者回调签名
EventHandlerActivityResult = void Function(AndroidActivityResult result)
EventHandlerRequestPermissionsResult = void Function(AndroidRequestPermissionsResult result)
EventListen = void Function(dynamic data)
ExtendedIndexedWidgetBuilder = Widget Function(BuildContext context, int index, int realIndex)
ExtendedTextFieldBuilder = Widget Function(TextInputType keyboardType, List<TextInputFormatter> inputFormatters, Widget? suffix, Widget? prefix)
FlSwiperOnTap = void Function(int index)
FlSwiperPaginationBuilder = Widget Function(BuildContext context, FlSwiperPluginConfig config)
FooterCallback = Widget Function(LoadingState loadStatus)
FrictionFactor = double Function(double overscrollFraction)
The multiple applied to overscroll to make it appear that scrolling past the edge of the scrollable contents is harder than scrolling the list. This is done by reducing the ratio of the scroll effect output vs the scroll gesture input.
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
GetCookiesOnResponse = void Function(Response response)
获取cookie
HeaderCallback = Widget Function(RefreshState refreshStatus)
HeaderForEachCallback = void Function(String name, List<String> values)
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
IndexBuilder = Widget Function(int index)
弹出组件每个item样式
IndicatorBuilder = Widget Function(BuildContext context, IndicatorState state)
Indicator widget builder.
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.
InterceptorErrorCallback = void Function(DioError e, ErrorInterceptorHandler handler)
InterceptorSendCallback = void Function(RequestOptions options, RequestInterceptorHandler handler)
InterceptorSuccessCallback = void Function(Response e, ResponseInterceptorHandler handler)
JsonDecodeCallback = dynamic Function(String)
The default Transformer for Dio. If you want to custom the transformation of request/response data, you can provide a Transformer by your self, and replace the DefaultTransformer by setting the dio.Transformer.
KeyboardStatus = void Function(bool visibility)
KeyComparator = int Function(dynamic key1, dynamic key2)
LabelBuilder = Widget Function(double offsetY)
Build a Text widget using the current scroll offset
LoadingCoreBuilder = Widget? Function(BasicLoading loading)
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.
MainBottomBarIconBuilder = Widget Function(int index)
MainBottomBarIconCallback = void Function(int index)
MergeEditRect = Rect Function(Rect editRect)
Return merged editRect rect
ModeChangeListener = void Function(IndicatorMode mode, double offset)
Mode change listener.
NetworkManagerClientFactory = NetworkManagerClient Function()
NetworkToastBuilder = void Function(ConnectivityResult result)
NotificationListenerScrollCallback = bool Function(ScrollNotification notification, bool focus)
NotNetworkBuilder = ExtendedOverlayEntry? Function(ConnectivityResult result)
OnSlidingPage = void Function(ExtendedImageSlidePageState state)
Call on sliding page
OnSliverPinnedPersistentHeaderDelegateBuild = void Function(BuildContext context, double shrinkOffset, double? minExtent, double maxExtent, bool overlapsContent)
PickerSubjectTapCallback<T> = T Function()
PickerTapCancelCallback<T> = bool Function(T? value)
PickerTapConfirmCallback<T> = bool Function(T? value)
返回 false 不关闭弹窗;
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.
PinBoxTextFieldBuilder = Widget Function(PinTextFieldBuilderConfig builderConfig)
ProgressCallback = void Function(int count, int total)
Callback to listen the progress for sending/receiving data.
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)
RefreshLoadingCallback = Future<bool> Function()
RequestEncoder = List<int> Function(String request, RequestOptions options)
ResponseDecoder = String Function(List<int> responseBytes, RequestOptions options, ResponseBody responseBody)
ScreenAdaptationChildBuilder = Widget Function(BuildContext context, bool scaled)
ScrollFocusCallback = void Function(bool focus)
滚动焦点回调 focus为是否存在焦点(手指按下放开状态)
ScrollThumbBuilder = Widget Function(Color backgroundColor, Animation<double> thumbAnimation, Animation<double> labelAnimation, double height, {BoxConstraints? labelConstraints, Widget? labelText})
Build the Scroll Thumb and label using the current configuration
SecondaryIndicatorBuilder = Widget Function(BuildContext context, IndicatorState state, Indicator indicator)
Secondary indicator widget builder.
SelectIndexedChanged = void Function(List<int> index)
SelectIndexedChangedFunction = void Function([int? index])
SelectIndexedWidgetBuilder = Widget Function(BuildContext context, int index, bool isSelect, SelectIndexedChangedFunction changeFunc)
SelectScrollListBuilder = Widget Function(int itemCount, IndexedWidgetBuilder itemBuilder)
SendSMSValueCallback = void Function(void (bool send))
SendStateBuilder = Widget Function(SendState state, int i)
SendStateChanged = void Function(SendState state)
SetCookieOnRequest = Map<String, dynamic> Function(RequestOptions options)
请求cookie
ShouldRebuild<T> = bool Function(T previous, T next)
Used by providers to determine whether dependents needs to be updated when the value exposed changes
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
SpringBuilder = SpringDescription Function({required double actualTriggerOffset, required IndicatorMode mode, required double offset, required double velocity})
Build spring with IndicatorMode and offset. mode Indicator mode. offset Indicator offset. actualTriggerOffset Indicator actual trigger offset. velocity Indicator actual trigger offset.
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.
StatefulWidgetFunction = void Function(BuildContext context, StateSetter setState)
SwitchStateChanged = Future<bool> Function(bool value)
ToggleBuilder = Widget Function(Widget child)
ToggleDefaultBuilder = Widget Function(Widget child, Widget toggle)
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.
ValidateStatus = bool Function(int? status)
ValueBuilderCallback<T> = Widget Function(BuildContext context, T? value, ValueCallback<T> updater)
ValueCallback<T> = void Function(T value)
ValueCallbackData<T> = T Function(String url, T params)
扩展所有的 data
ValueCallbackError = bool Function()
ValueCallbackFutureT<T> = Future<T> Function(T value)
ValueCallbackHeader = Map<String, String>? Function(String url)
扩展所有的 header
ValueCallbackParams = Map<String, dynamic>? Function(String url, Map<String, dynamic>? params)
扩展所有的 params
ValueCallbackT<T> = T Function(T value)
ValueCallbackUri = Uri Function(Uri uri)
扩展所有的 uri
ValueCallbackUriData<T> = T Function(Uri uri, T params)
扩展所有的 uri data
ValueFourCallback<T, E, F, G> = void Function(T value1, E value2, F value3, G value4)
ValueListenBuilderCallback<T> = Widget Function(BuildContext context, ValueNotifier<T?> valueListenable)
Example:
ValueThreeCallback<T, E, F> = void Function(T value1, E value2, F value3)
ValueTwoCallback<T, E> = void Function(T value1, E value2)

Exceptions / Errors

BadKeyException
A base class for exceptions thrown when decoding JSON.
CheckedFromJsonException
Exception thrown if there is a runtime exception in fromJson code generated when JsonSerializableGenerator.checked is true
ClientException
An exception caused by an error in a pkg/http client.
DioError
DioError describes the error info when request failed.
DisallowedNullValueException
Exception thrown if there are keys with disallowed null values in a JSON map that was provided during deserialization.
HiveError
An error related to Hive.
MissingRequiredKeysException
Exception thrown if there are missing required keys in a JSON map that was provided during deserialization.
OperationCanceledError
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.
UnrecognizedKeysException
Exception thrown if there are unrecognized keys in a JSON map that was provided during deserialization.