quick_develop_kit
library
Classes
-
Abortable
-
An HTTP request that can be aborted before it completes.
-
AbortableMultipartRequest
-
A MultipartRequest which supports abortion using abortTrigger.
-
AbortableRequest
-
A Request which supports abortion using abortTrigger.
-
AbortableStreamedRequest
-
A StreamedRequest which supports abortion using abortTrigger.
-
Adapter
-
Adapters provide a mechanism to drive an animation from an arbitrary source.
For example, synchronizing an animation with a scroll, controlling
an animation with a slider input, or progressing an animation based on
the time of day.
-
AdvancedFileOutput
-
Accumulates logs in a buffer to reduce frequent disk, writes while optionally
switching to a new log file if it reaches a certain size.
-
AlignEffect
-
An effect that animates the target between the specified begin and end
alignments (via Align).
Defaults to
begin=Align.topCenter, end=Align.center
.
-
AndroidBuildVersion
-
Version values of the current Android operating system build derived from
android.os.Build.VERSION
.
-
AndroidDeviceInfo
-
Information derived from
android.os.Build
.
-
Animate
-
The Flutter Animate library makes adding beautiful animated effects to your widgets
simple. It supports both a declarative and chained API. The latter is exposed
via the
Widget.animate
extension, which simply wraps the widget in Animate
.
-
AnimateList<T extends Widget>
-
Applies animated effects to a list of widgets. It does this by wrapping each
widget in Animate, and then proxying calls to all instances. It can
also offset the timing of each widget's animation via
interval
.
-
AnimationParam
-
advanced usage:
-
AnsiColor
-
This class handles colorizing of terminal output.
-
Assert
-
A decorator that allows adding
assert(...)
on the generated classes.
-
AttachAdjustParam
-
-
AttachParam
-
-
AutoSizeGroup
-
Controller to synchronize the fontSize of multiple AutoSizeTexts.
-
AutoSizeText
-
Flutter widget that automatically resizes text to fit perfectly within its
bounds.
-
BackgroundTextSpan
-
-
BackgroundTransformer
-
The default Transformer for Dio.
-
BaseClient
-
The abstract base class for an HTTP client.
-
BaseDeviceInfo
-
The base class for platform's device info.
-
BaseOptions
-
A set of base settings for each
Dio()
.
BaseOptions and Options will be merged into one RequestOptions before
sending the requests. See Options.compose.
-
BaseRequest
-
The base class for HTTP requests.
-
BaseResponse
-
The base class for HTTP responses.
-
BaseResponseWithUrl
-
A BaseResponse with a url field.
-
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.
-
BlurEffect
-
An effect that animates a blur on the target between the
specified begin and end blur radiuses (via ImageFiltered).
Defaults to
begin=0, end=4
.
-
BoolList
-
A space-efficient list of boolean values.
-
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.
-
BoxShadowEffect
-
An effect that animates a BoxShadow between begin and end (via DecoratedBox).
A value of
null
for either will be interpreted as a shadow that matches the other shadow but
with a zero offset and blurRadius.
You can also specify a borderRadius that defines rounded corners for the shadow.
Defaults to begin=null, end=BoxShadow(color: Color(0x80000000), blurRadius: 8.0, offset: Offset(0.0, 4.0))
-
BytesLoader
-
An interface that can be implemented to support decoding vector graphic
binary assets from different byte sources.
-
ByteStream
-
A stream of chunks of bytes representing a single piece of data.
-
Cache
-
The cache for decoded SVGs.
-
CallbackEffect
-
An effect that calls a callback function at a particular point in the animation.
It includes a boolean value indicating if the animation is playing in reverse.
-
CancellationToken
-
-
CancellationTokenSource
-
-
CancelToken
-
Controls cancellation of Dio's requests.
-
CanonicalizedMap<C, K, V>
-
A map whose keys are converted to canonical values of type
C
.
-
CaseInsensitiveEquality
-
String equality that's insensitive to differences in ASCII case.
-
ChangeNotifierAdapter
-
Drives an Animate animation from a ChangeNotifier. The valueGetter
should provide a value in the range
0-1
when a change occurs.
-
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
-
ColorEffect
-
An effect that animates a Color between begin and end, composited with
the target using blendMode (via ColorFiltered). A color value of
null
will be interpreted as a fully transparent version of the other color.
Defaults to begin=null, end=Color(0x800099FF)
.
-
ColorMapper
-
A class that transforms from one color to another during SVG parsing.
-
CombinedIterableView<T>
-
A view of several iterables combined sequentially into a single iterable.
-
CombinedListView<T>
-
A view of several lists combined into a single list.
-
CombinedMapView<K, V>
-
Returns a new map that represents maps flattened into a single map.
-
ConsoleOutput
-
Default implementation of LogOutput.
-
CropAspectRatios
-
-
CrossfadeEffect
-
An effect that crossfades the incoming child (including preceeding effects)
with a new widget (via Stack and FadeTransition). It uses a builder so
that the effect can be reused, but note that the builder is only called once
when the effect initially builds.
-
CustomEffect
-
Provide an easy way to add custom animated effects via a builder method that
accepts a BuildContext, target child, and calculated animation value
between begin and end.
-
CustomTransitionPage<T>
-
Page with custom transition functionality.
-
DateTimeFormat
-
-
DeepCollectionEquality
-
Deep equality on collections.
-
Default
-
Allows passing default values to a constructor:
-
DefaultEquality<E>
-
Equality of objects that compares only the natural equality of the objects.
-
DefaultSvgTheme
-
The SVG theme to apply to descendant SvgPicture widgets
which don't have explicit theme values.
-
DelegatingIterable<E>
-
An Iterable that delegates all operations to a base iterable.
-
DelegatingList<E>
-
A List that delegates all operations to a base list.
-
DelegatingMap<K, V>
-
A Map that delegates all operations to a base map.
-
DelegatingQueue<E>
-
A Queue that delegates all operations to a base queue.
-
DelegatingSet<E>
-
A Set that delegates all operations to a base set.
-
DevelopmentFilter
-
Prints all logs with
level >= Logger.level
while in development mode (eg
when assert
s are evaluated, Flutter calls this debug mode).
-
DeviceInfoPlugin
-
Provides device and operating system information.
-
DeviceInfoPlusLinuxPlugin
-
See
DeviceInfoPlatform
-
DeviceInfoPlusWindowsPlugin
-
The Windows implementation of
DeviceInfoPlatform
.
-
DialogConfig
-
-
Digest
-
A message digest as computed by a
Hash
or HMAC
function.
-
Dio
-
Dio enables you to make HTTP requests easily.
-
DioMixin
-
-
Disposable
-
If objects that are registered inside GetIt implements Disposable the
onDispose method will be called whenever that Object is unregistered,
resetted or its enclosing Scope is popped
-
EditActionDetails
-
-
EditorConfig
-
-
EditorCropLayerPainter
-
-
Effect<T>
-
An empty effect that all other effects extend.
It can be added to Animate, but has no visual effect.
-
EffectEntry
-
Because Effect classes are immutable and may be reused between multiple
Animate (or AnimateList) instances, an EffectEntry is created to store
values that may be different between instances. For example, due to an
interval
on AnimateList
, or from inheriting timing parameters.
-
EffectList
-
Simple helper class to build a list of effects via the chained api.
Example:
-
ElevationEffect
-
An effect that animates a Material elevation shadow between begin and end (via PhysicalModel).
You can also specify a shadow color and borderRadius to add rounded corners.
It defaults to
begin=0, end=8
.
-
EmptyLimitFormatter
-
empty limit formatter
-
Equality<E>
-
A generic equality relation on objects.
-
EqualityBy<E, F>
-
Equality of objects based on derived values.
-
EqualityMap<K, V>
-
A Map whose key equality is determined by an Equality object.
-
EqualitySet<E>
-
A Set whose key equality is determined by an Equality object.
-
EqualUnmodifiableListView<T>
-
An UnmodifiableListView which overrides ==
-
EqualUnmodifiableMapView<Key, Value>
-
An UnmodifiableMapView which overrides ==
-
EqualUnmodifiableSetView<T>
-
An UnmodifiableSetView which overrides ==
-
ErrorInterceptorHandler
-
The handler for interceptors to handle error occurred during the request.
-
ExtendedAssetBundleImageKey
-
-
ExtendedAssetImageProvider
-
-
ExtendedCupertinoSpellCheckSuggestionsToolbar
-
The default spell check suggestions toolbar for iOS.
-
ExtendedEditableText
-
EditableText
-
ExtendedEditableTextState
-
-
ExtendedExactAssetImageProvider
-
-
ExtendedFileImageProvider
-
-
ExtendedHorizontalDragGestureRecognizer
-
-
ExtendedImage
-
extended image base on official
Image
-
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
-
-
ExtendedMemoryImageProvider
-
-
ExtendedNetworkImageProvider
-
NetworkImage
-
ExtendedPageController
-
-
ExtendedRawImage
-
A widget that displays a dart:ui.Image directly.
-
ExtendedRenderEditable
-
RenderEditable
-
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.
-
ExtendedSelectableText
-
SelectableText
-
ExtendedSliverFillViewport
-
A sliver that contains multiple box children that each fills the viewport.
-
ExtendedSpellCheckConfiguration
-
SpellCheckConfiguration
-
ExtendedSpellCheckSuggestionsToolbar
-
The default spell check suggestions toolbar for Android. SpellCheckSuggestionsToolbar
-
ExtendedTextField
-
-
ExtendedTextFieldState
-
-
ExtendedTextLibraryUtils
-
-
ExtendedTextSelectionOverlay
-
TextSelectionOverlay
-
ExtendedVelocityTracker
-
-
ExtendedVerticalDragGestureRecognizer
-
-
ExtendedWidgetSpan
-
create by zmtzawqlp on 2019/7/10
-
FadeEffect
-
Animates the opacity of the target between the specified
begin and end values (via FadeTransition).
It defaults to
begin=0, end=1
.
-
FileOutput
-
-
FlipEffect
-
An effect that animates a 2.5D card flip rotation effect (via Transform).
The effect can be horizontal or vertical.
-
FlutterSmartDialog
-
-
FlutterSmartNotifyStyle
-
-
FollowPathEffect
-
An effect that moves the target following the specified path (via Transform).
The path coordinates are relative to the target's nominal position.
-
FontSizeResolvers
-
-
FormData
-
A class to create readable "multipart/form-data" streams.
It can be used to submit forms and file uploads to http server.
-
Freezed
-
Flags a class as needing to be processed by Freezed and allows passing options.
-
FreezedMapOptions
-
Options for enabling/disabling specific
Union.map
features;
-
FreezedUnionValue
-
An annotation used to specify how a union type will be serialized.
-
FreezedWhenOptions
-
Options for enabling/disabling specific
Union.when
features;
-
FusedTransformer
-
A Transformer that has a fast path for decoding UTF8-encoded JSON.
If the response is utf8-encoded JSON and no custom decoder is specified in the RequestOptions, this transformer
is significantly faster than the default SyncTransformer and the BackgroundTransformer.
This improvement is achieved by using a fused Utf8Decoder and JsonDecoder to decode the response,
which is faster than decoding the utf8-encoded JSON in two separate steps, since
Dart uses a special fast decoder for this case.
See https://github.com/dart-lang/sdk/blob/5b2ea0c7a227d91c691d2ff8cbbeb5f7f86afdb9/sdk/lib/_internal/vm/lib/convert_patch.dart#L40
-
GestureAnimation
-
-
GestureConfig
-
-
GestureDetails
-
-
GesturePageView
-
-
GestureWidgetDelegateFromRect
-
-
GestureWidgetDelegateFromState
-
-
GetIt
-
Very simple and easy to use service locator
You register your object creation factory or an instance of an object with registerFactory,
registerSingleton or registerLazySingleton
And retrieve the desired object using get or call your locator as function as its a
callable class
Additionally GetIt offers asynchronous creation functions as well as functions to synchronize
the async initialization of multiple Singletons
-
GiGiHeroImage
-
ProjectName: optic
FileName: gigi_hero_image.dart
Date: 2022/7/25 13:40
Author: iceKylin
-
GoRoute
Get started
Configuration
Redirection
Transition animations
Named routes
-
A route that is displayed visually above the matching parent route using the
Navigator.
-
GoRouteData
Type-safe routes
-
A class to represent a GoRoute in
Type-safe routing.
-
GoRouteInformationParser
-
Converts between incoming URLs and a RouteMatchList using
RouteMatcher
.
Also performs redirection using RouteRedirector
.
-
GoRouteInformationProvider
-
The RouteInformationProvider created by go_router.
-
GoRouter
Get started
Upgrading
Configuration
Navigation
Redirection
Web
Deep linking
Named routes
Error handling
-
The route configuration for the app.
-
GoRouterDelegate
-
GoRouter implementation of RouterDelegate.
-
GoRouterState
-
The route state during routing.
-
GradientCircularProgressIndicator
-
-
GradientCircularProgressPainter
-
-
Gradiented
-
Don't forget to set a child foreground color to white
-
Hash
-
An interface for cryptographic hash functions.
-
The headers class for requests and responses.
-
HeapPriorityQueue<E>
-
Heap based priority queue.
-
HiveAesCipher
-
Default encryption algorithm. Uses AES256 CBC with PKCS7 padding.
-
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.
-
HttpCacheFrame
-
-
HttpCacheInterceptor
-
-
HttpCacheManager
-
-
HttpClientAdapter
-
HttpAdapter
is a bridge between Dio and HttpClient.
-
HttpClientHelper
-
-
HybridPrinter
-
A decorator for a LogPrinter that allows for the composition of
different printers to handle different log messages. Provide it's
constructor with a base printer, but include named parameters for
any levels that have a different printer:
-
IdentityEquality<E>
-
Equality of objects that compares only the identity of the objects.
-
ImageSpan
-
-
Immutable
-
Used to annotate a class.
-
ImperativeRouteMatch
-
The route match that represent route pushed through GoRouter.push.
-
Implements<T extends Object?>
-
Marks a union type to implement the interface stringType or type T.
In the case below
City
will implement AdministrativeArea<House>
.
-
InheritedGoRouter
-
GoRouter implementation of InheritedWidget.
-
InitDependency
-
Data structure used to identify a dependency by type and instanceName
-
Interceptor
-
Interceptor helps to deal with RequestOptions, Response,
and DioException during the lifecycle of a request
before it reaches users.
-
Interceptors
-
A Queue-Model list for Interceptors.
-
InterceptorsWrapper
-
A helper class to create interceptors in ease.
-
IosDeviceInfo
-
Information derived from
UIDevice
.
-
IosUtsname
-
Information derived from
utsname
.
See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details.
-
IterableEquality<E>
-
Equality on iterables.
-
IterableZip<T>
-
Iterable that iterates over lists of values from other iterables.
-
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.
-
JsonSerializable
-
An annotation used to specify a class to generate code for.
-
JsonValue
-
An annotation used to specify how a enum value is serialized.
-
KeyboardActions
-
A widget that shows a bar of actions above the keyboard, to help customize input.
-
KeyboardActionsConfig
-
Wrapper for a single configuration of the keyboard actions bar.
-
KeyboardActionsItem
-
Class to define the
focusNode
that you pass to your TextField
too and other params to customize
the bar that will appear over your keyboard
-
KeyboardActionstate
-
State class for KeyboardActions.
-
KeyboardCustomInput<T>
-
A widget that allow us to create a custom keyboard instead of the platform keyboard.
-
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.
-
LinuxDeviceInfo
-
Device information for a Linux system.
-
ListenEffect
-
An effect that calls a callback function with its current animation value
between begin and end.
-
ListEquality<E>
-
Equality on lists.
-
ListParam<T>
-
Indicates a param being used as queries or form data,
and how does it gets formatted.
-
ListSlice<E>
-
A list view of a range of another list.
-
LogEvent
-
-
LogFilter
-
An abstract filter of log messages.
-
LogfmtPrinter
-
Outputs a logfmt message:
-
Logger
-
Use instances of logger to send log messages to the LogPrinter.
-
LogInterceptor
-
LogInterceptor is used to print logs during network requests.
It should be the last interceptor added,
otherwise modifications by following interceptors will not be logged.
This is because the execution of interceptors is in the order of addition.
-
LogOutput
-
Log output receives a OutputEvent from LogPrinter and sends it to the
desired destination.
-
LogPrinter
-
An abstract handler of log events.
-
MacOsDeviceInfo
-
Object encapsulating MACOS device information.
-
MapEquality<K, V>
-
Equality on maps.
-
MapKeySet<E>
-
An unmodifiable Set view of the keys of a Map.
-
MapValueSet<K, V>
-
Creates a modifiable Set view of the values of a Map.
-
MemoryOutput
-
Buffers OutputEvents.
-
MoneyTextInputFormatter
-
money formatter
-
MoveEffect
-
An effect that moves the target between the specified begin and end
offsets (via Transform.translate).
Defaults to
begin=Offset(0, -16), end=Offset.zero
.
transformHitTests is simply passed on to Transform.translate.
-
MultiEquality<E>
-
Combines several equalities into a single equality.
-
MultiOutput
-
Logs simultaneously to multiple LogOutput outputs.
-
MultipartFile
-
An upload content that is a part of
MultipartRequest
.
This doesn't need to correspond to a physical file.
-
MultipartRequest
-
A
multipart/form-data
request.
-
NeatPeriodicTaskScheduler
-
A NeatPeriodicTaskScheduler runs a NeatPeriodicTask periodically.
-
NeatStatusProvider
-
Abstractions for getting and setting task status.
-
NetworkLog
-
-
NetworkLogInterceptor
-
-
NonGrowableListMixin<E>
-
Mixin class that implements a throwing version of all list operations that
change the List's length.
-
NonGrowableListView<E>
-
A fixed-length list.
-
NoTransitionPage<T>
-
Custom transition page with no transition.
-
NumberTextInputFormatter
-
number formatter
-
Options
-
The configuration for a single request.
BaseOptions and Options will be merged into one RequestOptions before
sending the requests. See Options.compose.
-
OutputEvent
-
-
PackageInfo
-
Application metadata. Provides application bundle information on iOS and
application package information on Android.
-
PackageInfoPlusLinuxPlugin
-
The Linux implementation of
PackageInfoPlatform
.
-
PackageInfoPlusWindowsPlugin
-
The Windows implementation of
PackageInfoPlatform
.
-
Permission
-
Defines the permissions which can be checked and requested.
-
PermissionWithService
-
A special kind of permission, used to access a service.
-
PictureInfo
-
The deocded result of a vector graphics asset.
-
PictureProvider
-
Deprecated class, will be removed, does not do anything.
-
PinCodeTextField
-
Pin code text fields which automatically changes focus and validates
-
PinTheme
-
-
PrecisionLimitFormatter
-
precision limit formatter
-
PrefixPrinter
-
A decorator for a LogPrinter that allows for the prepending of every
line in the log output with a string for the level of that log. For
example:
-
PrettyDioLoggerOptions
-
-
PrettyPrinter
-
Default implementation of LogPrinter.
-
PriorityQueue<E>
-
A priority queue is a priority based work-list of elements.
-
ProductionFilter
-
Prints all logs with
level >= Logger.level
even in production.
-
QdkAccountInitialKit
-
-
QdkHttpClient
-
-
QdkHttpClientOptions
-
-
QdkImageKit
-
-
QdkInitialKit
-
-
QdkKeyImage
-
-
QdkKeyImageProvider
-
modify from ExtendedNetworkImageProvider
-
QdkKvStorage
-
-
QueuedInterceptor
-
Interceptor in queue.
-
QueuedInterceptorsWrapper
-
A helper class to create QueuedInterceptor in ease.
-
QueueList<E>
-
A class that efficiently implements both Queue and List.
-
RebuildFactors
-
-
RecordUse
-
Annotates a static method to be recorded.
-
REdgeInsets
-
-
REdgeInsetsDirectional
-
-
RedirectRecord
-
A record that records the redirection happens during requests,
including status code, request method, and the location.
-
RegExpSpecialText
-
-
RegExpSpecialTextSpanBuilder
-
-
RenderEditablePainter
-
An interface that paints within a RenderEditable's bounds, above or
beneath its text content.
-
Request
-
An HTTP request where the entire request body is known in advance.
-
RequestInterceptorHandler
-
The handler for interceptors to handle before the request has been sent.
-
RequestOptions
-
The internal request option class that is the eventual result after
BaseOptions and Options are composed.
-
Required
-
Used to annotate a named parameter
p
in a method or function f
.
-
Response<T>
-
The Response class contains the payload (could be transformed)
that respond from the request, and other information of the response.
-
ResponseBody
-
The response wrapper class for adapters.
-
ResponseInterceptorHandler
-
The handler for interceptors to handle after respond.
-
RetryHelper
-
-
RotateEffect
-
Effect that rotates the target between begin and end (via RotationTransition).
Values are specified in "turns" (360° or 2𝝅 radians), so a
begin=0.25, end=2.25
would start with the child
rotated a quarter turn clockwise (90 degrees), and rotate two full turns (ending at 810 degrees).
Defaults to begin=-1.0, end=0
.
-
RouteBase
-
The base class for GoRoute and ShellRoute.
-
RouteBuilder
-
Builds the top-level Navigator for GoRouter.
-
RouteConfiguration
-
The route configuration for GoRouter configured by the app.
-
RouteData
-
Baseclass for supporting
Type-safe routing.
-
RouteInformationState<T>
-
The data class to be stored in RouteInformation.state to be used by
GoRouteInformationParser.
-
RouteMatch
-
An matched result by matching a GoRoute against a location.
-
RouteMatchBase
-
The base class for various route matches.
-
RouteMatchList
-
The list of RouteMatchBase objects.
-
RoutingConfig
Configuration
-
A set of parameters that defines routing in GoRouter.
-
RPadding
-
-
RSizedBox
-
-
SaturateEffect
-
An effect that animates the color saturation of the target. The begin and
end values indicate the saturation level, where
0
is fully desaturated
(ie. grayscale) and 1
is normal saturation. Values >1
will oversaturate.
Defaults to begin=0, end=1
.
-
ScaleEffect
-
An effect that scales the target between the specified begin and end
offset values (via Transform.scale).
Defaults to
begin=Offset(0,0), end=Offset(1,1)
.
-
ScreenUtil
-
-
ScreenUtilInit
-
-
ScrollAdapter
-
Drives an Animate animation from a ScrollController.
-
SetEquality<E>
-
Equality of sets.
-
ShaderEffect
-
Effect that applies an animated fragment shader to a target. See
Writing and using fragment shaders
for information on how to include shaders in your app.
-
ShaderUpdateDetails
-
Passed to the ShaderEffect.update callback. Contains information necessary
for updating the shader:
-
ShadowChangeHandlers
-
If an object implements the
ShadowChangeHandler
if will get notified if
an Object with the same registration type and name is registered on a
higher scope which will shadow it.
It also will get notified if the shadowing object is removed from GetIt
-
ShakeEffect
-
Effect that shakes the target, using translation, rotation, or both (via Transform).
-
ShellRoute
Configuration
-
A route that displays a UI shell around the matching child route.
-
ShellRouteBase
-
Base class for classes that act as shells for sub-routes, such
as ShellRoute and StatefulShellRoute.
-
ShellRouteContext
-
Context object used when building the shell and Navigator for a shell route.
-
ShellRouteData
-
A class to represent a ShellRoute in
Type-safe routing.
-
ShellRouteMatch
-
An matched result by matching a ShellRoute against a location.
-
Shimmer
-
A widget renders shimmer effect over child widget tree.
-
ShimmerEffect
-
An effect that animates gradient overlay effects (via ShaderMask), such as the shimmer loading effect
popularized by facebook.
-
SimplePrinter
-
Outputs simple log messages:
-
SlideEffect
-
An effect that moves the target based on a fraction of its size
per the specified begin and end offsets (via SlideTransition).
Defaults to
begin=Offset(0, -0.5), end=Offset.zero
(slide down from half its height).
-
SlideHeroWidget
-
Copy and Modify
https://github.com/fluttercandies/extended_image/blob/master/example/lib/common/widget/hero.dart
make hero better when slide out
-
SlideHeroWidgetState
-
-
SmartConfigAttach
-
showAttach() global config
-
SmartConfigCustom
-
show() global config
-
SmartConfigLoading
-
showLoading() global config
-
SmartConfigNotify
-
show() global config
-
SmartConfigToast
-
showToast() global config
-
SmartDialog
-
-
SmartDialogController
-
SmartDialog Controller
-
SoundWavePainter
-
-
SpecialText
-
-
SpecialTextSpan
-
create by zmtzawqlp on 2019/4/30
-
SpecialTextSpanBuilder
-
-
StatefulNavigationShell
-
Widget for managing the state of a StatefulShellRoute.
-
StatefulNavigationShellState
-
State for StatefulNavigationShell.
-
StatefulShellBranch
-
Representation of a separate branch in a stateful navigation tree, used to
configure StatefulShellRoute.
-
StatefulShellBranchData
-
Base class for supporting
StatefulShellRoute
-
StatefulShellRoute
Configuration
-
A route that displays a UI shell with separate Navigators for its
sub-routes.
-
StatefulShellRouteData
-
Base class for supporting
StatefulShellRoute
-
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.
-
StreamOutput
-
-
Svg
-
A utility class for decoding SVG data to a
DrawableRoot
or a PictureInfo.
-
SvgAssetLoader
-
A BytesLoader that decodes and parses an SVG asset in an isolate and
creates a vector_graphics binary representation.
-
SvgBytesLoader
-
A BytesLoader that decodes and parses a UTF-8 encoded SVG string from a
Uint8List in an isolate and creates a vector_graphics binary
representation.
-
SvgCacheKey
-
A SvgTheme aware cache key.
-
SvgFileLoader
-
A BytesLoader that decodes SVG data from a file in an isolate and creates
a vector_graphics binary representation.
-
SvgLoader<T>
-
A BytesLoader that parses a SVG data in an isolate and creates a
vector_graphics binary representation.
-
SvgNetworkLoader
-
A BytesLoader that decodes and parses a UTF-8 encoded SVG string the
network in an isolate and creates a vector_graphics binary representation.
-
SvgPicture
-
A widget that will parse SVG data for rendering on screen.
-
SvgStringLoader
-
A BytesLoader that parses an SVG string in an isolate and creates a
vector_graphics binary representation.
-
SvgTheme
-
A theme used when decoding an SVG picture.
-
SwapEffect
-
An effect that swaps out the incoming child for a new child at a particular
point in time. This includes all preceding effects. It uses a builder so
that the effect can be reused, but note that the builder is only called once
when the effect initially builds.
-
SyncTransformer
-
If you want to custom the transformation of request/response data,
you can provide a Transformer by your self, and replace
the transformer by setting the Dio.transformer.
-
SystemDebugLogger
-
-
SystemLog
-
-
TagText
-
-
Tapped
-
-
TappedState
-
-
TextInputBinaryMessenger
-
-
TextInputBinding
-
void main() {
TextInputBinding();
runApp(const MyApp());
}
-
TextInputFocusNode
-
The FocusNode to be used in TextInputBindingMixin
-
TextPainterHelper
-
-
ThenEffect
-
A special convenience "effect" that makes it easier to sequence effects after
one another. It does this by establishing a new baseline time equal to the
previous effect's end time and its own optional delay.
All subsequent effect delays are relative to this new baseline.
-
TintEffect
-
An effect that applies an animated color tint to the target (via ColorFiltered).
The begin and end values indicate the strength of the tint (0 - 0% tint, 1 - 100% tint).
Defaults to
begin=0, end=1
.
-
ToggleEffect
-
An effect that allows you to toggle the behavior of a builder function at a certain
point in time.
-
Transformer
-
Transformer allows changes to the request/response data before
it is sent/received to/from the server.
-
TypeAdapter<T>
-
Type adapters can be implemented to support non primitive values.
-
TypedGoRoute<T extends GoRouteData>
-
A superclass for each typed go route descendant
-
TypedRoute<T extends RouteData>
-
A superclass for each typed route descendant
-
TypedShellRoute<T extends ShellRouteData>
-
A superclass for each typed shell route descendant
-
TypedStatefulShellBranch<T extends StatefulShellBranchData>
-
A superclass for each typed shell route descendant
-
TypedStatefulShellRoute<T extends StatefulShellRouteData>
-
A superclass for each typed shell route descendant
-
TypeRegistry
-
TypeRegistries contain the TypeAdapters associated with a typeId.
-
UnionSet<E>
-
A single set that provides a view of the union over a set of sets.
-
UnionSetController<E>
-
A controller that exposes a view of the union of a collection of sets.
-
UnmodifiableListView<E>
-
An unmodifiable List view of another List.
-
UnmodifiableMapMixin<K, V>
-
Mixin class that implements a throwing version of all map operations that
change the Map.
-
UnmodifiableMapView<K, V>
-
View of a Map that disallow modifying the map.
-
UnmodifiableSetMixin<E>
-
Mixin class that implements a throwing version of all set operations that
change the Set.
-
UnmodifiableSetView<E>
-
An unmodifiable set.
-
UnorderedIterableEquality<E>
-
Equality of the elements of two iterables without considering order.
-
UseResult
-
See useResult for more details.
-
Uuid
-
uuid for Dart
Author: Yulian Kuncheff
Released under MIT License.
-
UuidValue
-
-
ValueAdapter
-
Drives an Animate animation directly from a value in the range
0-1
-
ValueNotifierAdapter
-
Drives an Animate animation from a ValueNotifier. The value from the
notifier should be in the range
0-1
.
-
VectorGraphicUtilities
-
Utility functionality for interaction with vector graphic assets.
-
VerticalCaretMovementRun
-
The consecutive sequence of TextPositions that the caret should move to
when the user navigates the paragraph using the upward arrow key or the
downward arrow key.
-
VisibilityEffect
-
An effect that toggles the visibility of the target (via Visibility).
Defaults to
end=true
.
-
WebBrowserInfo
-
Information derived from
navigator
.
-
WidgetSpanSize
-
-
WillSignalReady
-
If your singleton that you register wants to use the manually signalling
of its ready state, it can implement this interface class instead of using
the
signalsReady
parameter of the registration functions
(you don't really have to implement much ;-) )
-
WindowsDeviceInfo
-
Object encapsulating WINDOWS device information.
-
With<T extends Object?>
-
Marks a union type to mixin the interface stringType or type T.
In the case below
City
will mixin with AdministrativeArea<House>
.
Constants
-
alwaysThrows
→ const _AlwaysThrows
-
Used to annotate a function
f
. Indicates that f
always throws an
exception. Any functions that override f
, in class inheritance, are also
expected to conform to this contract.
-
cacheImageFolderName
→ const String
-
-
chars
→ const String
-
-
checked
→ const _Checked
-
Used to annotate a parameter of an instance method that overrides another
method.
-
doNotStore
→ const _DoNotStore
-
Used to annotate a method, getter, top-level function, or top-level getter
to indicate that the value obtained by invoking it should not be stored in a
field or top-level variable. The annotation can also be applied to a class
to implicitly annotate all of the valid members of the class, or applied to
a library to annotate all of the valid members of the library, including
classes. If a value returned by an element marked as
doNotStore
is
returned from a function or getter, that function or getter should be
similarly annotated.
-
doNotSubmit
→ const _DoNotSubmit
-
Used to annotate an optional parameter, method, getter or top-level getter
or function that is not intended to be accessed in checked-in code, but
might be ephemerally used during development or local testing.
-
experimental
→ const _Experimental
-
Used to annotate a library, or any declaration that is part of the public
interface of a library (such as top-level members, class members, and
function parameters) to indicate that the annotated API is experimental and
may be removed or changed at any-time without updating the version of the
containing package, despite the fact that it would otherwise be a breaking
change.
-
factory
→ const _Factory
-
Used to annotate an instance or static method
m
. Indicates that m
must
either be abstract or must return a newly allocated object or null
. In
addition, every method that either implements or overrides m
is implicitly
annotated with this same annotation.
-
freezed
→ const Freezed
-
Defines an immutable data-class.
-
immutable
→ const Immutable
-
Used to annotate a class
C
. Indicates that C
and all subtypes of C
must be immutable.
-
internal
→ const _Internal
-
Used to annotate a declaration which should only be used from within the
package in which it is declared, and which should not be exposed from said
package's public API.
-
iOSHorizontalOffset
→ const int
-
An eyeballed value that moves the cursor slightly left of where it is
rendered for text on Android so its positioning more accurately matches the
native iOS text cursor positioning.
-
isTest
→ const _IsTest
-
Used to annotate a test framework function that runs a single test.
-
isTestGroup
→ const _IsTestGroup
-
Used to annotate a test framework function that runs a group of tests.
-
kDefaultContentInsertionMimeTypes
→ const List<String>
-
The default mime types to be used when allowedMimeTypes is not provided.
-
kDioCacheForceRefresh
→ const Map<String, dynamic>
-
-
kDioCacheHalfDay
→ const Map<String, dynamic>
-
-
kDioCacheHalfHour
→ const Map<String, dynamic>
-
-
kDioCacheOneDay
→ const Map<String, dynamic>
-
-
kDioCacheOneHour
→ const Map<String, dynamic>
-
-
kDioCacheOneMonth
→ const Map<String, dynamic>
-
-
kDioCacheOneWeek
→ const Map<String, dynamic>
-
-
-
-
-
literal
→ const _Literal
-
Used to annotate a const constructor
c
. Indicates that any invocation of
the constructor must use the keyword const
unless one or more of the
arguments to the constructor is not a compile-time constant.
-
md5
→ const Hash
-
An implementation of the MD5 hash function.
-
minGesturePageDelta
→ const double
-
-
minMagnitude
→ const double
-
-
mustBeConst
→ const _MustBeConst
-
Used to annotate a parameter which should be constant.
-
mustBeOverridden
→ const _MustBeOverridden
-
Used to annotate an instance member
m
declared on a class or mixin C
.
Indicates that every concrete subclass of C
must directly override m
.
-
mustCallSuper
→ const _MustCallSuper
-
Used to annotate an instance member (method, getter, setter, operator, or
field)
m
. Indicates that every invocation of a member that overrides m
must also invoke m
. In addition, every method that overrides m
is
implicitly annotated with this same annotation.
-
nonVirtual
→ const _NonVirtual
-
Used to annotate an instance member (method, getter, setter, operator, or
field)
m
in a class C
or mixin M
. Indicates that m
should not be
overridden in any classes that extend or mixin C
or M
.
-
optionalTypeArgs
→ const _OptionalTypeArgs
-
Used to annotate a class, mixin, extension, function, method, or typedef
declaration
C
. Indicates that any type arguments declared on C
are to
be treated as optional.
-
protected
→ const _Protected
-
Used to annotate an instance member in a class or mixin which is meant to
be visible only within the declaring library, and to other instance members
of the class or mixin, and their subtypes.
-
redeclare
→ const _Redeclare
-
Used to annotate an instance member of an extension type that
redeclares a member from a superinterface.
-
reopen
→ const _Reopen
-
Annotation for intentionally loosening restrictions on subtyping that would
otherwise cause lint warnings to be produced by the
implicit_reopen
lint.
-
required
→ const Required
-
Used to annotate a named parameter
p
in a method or function f
.
Indicates that every invocation of f
must include an argument
corresponding to p
, despite the fact that p
would otherwise be an
optional parameter.
-
sealed
→ const _Sealed
-
Annotation marking a class as not allowed as a super-type
outside of the current package.
-
sha1
→ const Hash
-
An implementation of the SHA-1 hash function.
-
sha224
→ const Hash
-
An implementation of the SHA-224 hash function.
-
sha256
→ const Hash
-
An implementation of the SHA-256 hash function.
-
sha384
→ const Hash
-
An implementation of the SHA-384 hash function.
-
sha512
→ const Hash
-
An implementation of the SHA-512 hash function.
-
sha512224
→ const Hash
-
An implementation of the SHA-512/224 hash function.
-
sha512256
→ const Hash
-
An implementation of the SHA-512/256 hash function.
-
unfreezed
→ const Freezed
-
Defines a potentially mutable data-class.
-
useResult
→ const UseResult
-
Used to annotate a method, field, or getter within a class, mixin, or
extension, or a or top-level getter, variable or function to indicate that
the value obtained by invoking it should be used. A value is considered used
if it is assigned to a variable, passed to a function, or used as the target
of an invocation, or invoked (if the result is itself a function).
-
velocity
→ const double
-
-
vg
→ const VectorGraphicUtilities
-
The VectorGraphicUtilities instance.
-
virtual
→ const _Virtual
-
Used to annotate a field that is allowed to be overridden in Strong Mode.
-
visibleForOverriding
→ const _VisibleForOverriding
-
Used to annotate an instance member that was made public so that it could be
overridden but that is not intended to be referenced from outside the
defining library.
-
visibleForTesting
→ const _VisibleForTesting
-
Used to annotate a declaration that was made public, so that it is more
visible than otherwise necessary, to make code testable.
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 <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.
-
binarySearch<E>(List<E> sortedList, E value, {int compare(E, E)?})
→ int
-
Returns a position of the
value
in sortedList
, if it is there.
-
buildTextSpanWithSpellCheckSuggestions(TextEditingValue value, TextStyle? style, TextStyle misspelledTextStyle, SpellCheckResults spellCheckResults)
→ TextSpan
-
Builds the TextSpan tree given the current state of the text input and
spell check results.
-
cachedImageExists(String url, {String? cacheKey})
→ Future<bool>
-
Check if the image exists in cache
-
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
-
compareAsciiLowerCase(String a, String b)
→ int
-
Compares
a
and b
lexically, converting ASCII letters to lower case.
-
compareAsciiLowerCaseNatural(String a, String b)
→ int
-
Compares strings
a
and b
according to lower-case
natural sort ordering.
-
compareAsciiUpperCase(String a, String b)
→ int
-
Compares
a
and b
lexically, converting ASCII letters to upper case.
-
compareAsciiUpperCaseNatural(String a, String b)
→ int
-
Compares strings
a
and b
according to upper-case
natural sort ordering.
-
compareNatural(String a, String b)
→ int
-
Compares strings
a
and b
according to natural sort ordering.
-
defaultDioExceptionReadableStringBuilder(DioException e)
→ String
-
The default implementation of building a readable string of DioException.
-
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, {Object? body, Encoding? encoding})
→ Future<Response>
-
Sends an HTTP DELETE request with the given headers to the given URL.
-
equalsIgnoreAsciiCase(String a, String b)
→ bool
-
Checks if strings
a
and b
differ only on the case of ASCII letters.
-
get(Uri url, {})
→ Future<Response>
-
Sends an HTTP GET request with the given headers to the given URL.
-
getApplicationCacheDirectory()
→ Future<Directory>
-
Path to a directory where the application may place application-specific
cache files.
-
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.
-
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
-
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.
-
getExternalCacheDirectories()
→ Future<List<Directory>?>
-
Paths to directories where application specific cache data can be stored
externally.
-
getExternalStorageDirectories({StorageDirectory? type})
→ Future<List<Directory>?>
-
Paths to directories where application specific data can be stored
externally.
-
getExternalStorageDirectory()
→ Future<Directory?>
-
Path to a directory where the application may access top level storage.
-
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.
-
getMemoryImageCache([String? name])
→ ImageCache?
-
get ImageCache
-
getNetworkImageData(String url, {bool useCache = true, StreamController<ImageChunkEvent>? chunkEvents})
→ Future<Uint8List?>
-
get network image data from cached
-
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.
-
groupBy<S, T>(Iterable<S> values, T key(S))
→ Map<T, List<S>>
-
Groups the elements in
values
by the value returned by key
.
-
hashIgnoreAsciiCase(String string)
→ int
-
Hash code for a string which is compatible with equalsIgnoreAsciiCase.
-
head(Uri url, {})
→ Future<Response>
-
Sends an HTTP HEAD request with the given headers to the given URL.
-
initQuickDevelopKit({List<QdkInitialTask> tasks = const []})
→ Future<void>
-
-
insertionSort<E>(List<E> elements, {int compare(E, E)?, int start = 0, int? end})
→ void
-
Sort a list between
start
(inclusive) and end
(exclusive) using
insertion sort.
-
keyToMd5(String key)
→ String
-
get md5 from key
-
lastBy<S, T>(Iterable<S> values, T key(S))
→ Map<T, S>
-
Associates the elements in
values
by the value returned by key
.
-
lowerBound<E>(List<E> sortedList, E value, {int compare(E, E)?})
→ int
-
Returns the first position in
sortedList
that does not compare less than
value
.
-
mapMap<K1, V1, K2, V2>(Map<K1, V1> map, {K2 key(K1, V1)?, V2 value(K1, V1)?})
→ Map<K2, V2>
-
Creates a new map from
map
with new keys and values.
-
maxBy<S, T>(Iterable<S> values, T orderBy(S), {int compare(T, T)?})
→ S?
-
Returns the element of
values
for which orderBy
returns the maximum
value.
-
mergeMaps<K, V>(Map<K, V> map1, Map<K, V> map2, {V value(V, V)?})
→ Map<K, V>
-
Returns a new map with all key/value pairs in both
map1
and map2
.
-
mergeSort<E>(List<E> elements, {int start = 0, int? end, int compare(E, E)?})
→ void
-
Sorts a list between
start
(inclusive) and end
(exclusive) using the
merge sort algorithm.
-
minBy<S, T>(Iterable<S> values, T orderBy(S), {int compare(T, T)?})
→ S?
-
Returns the element of
values
for which orderBy
returns the minimum
value.
-
openAppSettings()
→ Future<bool>
-
Opens the app settings page.
-
openConnection(String dbName)
→ LazyDatabase
-
-
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
-
Paints an image into the given rectangle on the canvas.
-
patch(Uri url, {Object? body, Encoding? encoding})
→ Future<Response>
-
Sends an HTTP PATCH request with the given headers and body to the given
URL.
-
post(Uri url, {Object? body, Encoding? encoding})
→ Future<Response>
-
Sends an HTTP POST request with the given headers and body to the given URL.
-
put(Uri url, {Object? body, Encoding? encoding})
→ Future<Response>
-
Sends an HTTP PUT request with the given headers and body to the given URL.
-
randomString({int length = 12})
→ String
-
-
read(Uri url, {})
→ 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, {})
→ 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.
-
reverse<E>(List<E> elements, [int start = 0, int? end])
→ void
-
Reverses a list, or a part of a list, in-place.
-
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.
-
shuffle(List elements, [int start = 0, int? end, Random? random])
→ void
-
Shuffles a list randomly.
-
stronglyConnectedComponents<T>(Map<T, Iterable<T>> graph)
→ List<Set<T>>
-
Returns the strongly connected components of
graph
, in topological
order.
-
throwIf(bool condition, Object error)
→ void
-
Two handy functions that help me to express my intention clearer and shorter to check for runtime
errors
-
throwIfNot(bool condition, Object error)
→ void
-
-
transitiveClosure<T>(Map<T, Iterable<T>> graph)
→ Map<T, Set<T>>
-
Returns the transitive closure of
graph
.
-
typeOf<T>()
→ Type
-
get type from T
Typedefs
-
AccountInitialFunction
= FutureOr<void> Function()
-
-
AfterPaintImage
= void Function(Canvas canvas, Rect rect, Image image, Paint paint)
-
Call after paint image
-
AnimateCallback
= void Function(AnimationController controller)
-
Function signature for Animate callbacks.
-
BeforePaintImage
= bool Function(Canvas canvas, Rect rect, Image image, Paint paint)
-
rect
is render size
if return true, it will not paint original image,
-
BuildGestureImage
= Widget Function(GestureDetails gestureDetails)
-
Build Gesture Image
-
ButtonBuilder
= Widget Function(FocusNode focusNode)
-
-
CanHorizontalOrVerticalDrag
= bool Function()
-
-
CanScaleImage
= bool Function(GestureDetails? details)
-
Whether should scale image
-
CanScrollPage
= bool Function(GestureDetails? gestureDetails)
-
Whether we can scroll page
-
CompactionStrategy
= bool Function(int entries, int deletedEntries)
-
A function which decides when to compact a box.
-
CustomEffectBuilder
= Widget Function(BuildContext context, double value, Widget child)
-
-
DateTimeFormatter
= String Function(DateTime time)
-
-
DefaultTransformer
= SyncTransformer
-
-
DioError
= DioException
-
DioError describes the exception info when a request failed.
-
DioErrorType
= DioExceptionType
-
Deprecated in favor of DioExceptionType and will be removed in future major versions.
-
DioExceptionReadableStringBuilder
= String Function(DioException e)
-
The readable string builder's signature of
DioException.readableStringBuilder.
-
DioMediaType
= MediaType
-
The type (alias) for specifying the content-type of the
MultipartFile
.
-
DisposingFunc<T>
= FutureOr Function(T param)
-
Signature for disposing function
because closures like
(x){}
have a return type of Null we don't use FutureOr<void>
-
DoubleTap
= void Function(ExtendedImageGestureState state)
-
Double tap call back
-
EditActionDetailsIsChanged
= void Function(EditActionDetails? details)
-
Call when EditActionDetails is changed
-
EditorMaskColorHandler
= Color Function(BuildContext context, bool pointerDown)
-
Get editor mask color base on pointerDown
-
ExitCallback
= FutureOr<bool> Function(BuildContext context, GoRouterState state)
-
Signature for function used in
RouteBase.onExit
.
-
Signature for a widget builder that builds a context menu for the given
EditableTextState.
-
FactoryFunc<T>
= T Function()
-
Signature of the factory function used by non async factories
-
FactoryFuncAsync<T>
= Future<T> Function()
-
Signature of the factory function used by async factories
-
FactoryFuncParam<T, P1, P2>
= T Function(P1 param1, P2 param2)
-
For Factories that expect up to two parameters if you need only one use
void
for the one
you don't use
-
FactoryFuncParamAsync<T, P1, P2>
= Future<T> Function(P1 param1, P2 param2)
-
For async Factories that expect up to two parameters if you need only one use
void
for the one
you don't use
-
FlutterSmartLoadingBuilder
= Widget Function(String msg)
-
-
FlutterSmartStyleBuilder
= Widget Function(Widget child)
-
-
FlutterSmartToastBuilder
= Widget Function(String msg)
-
-
FontSizeResolver
= double Function(num fontSize, ScreenUtil instance)
-
-
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
-
GoExceptionHandler
= void Function(BuildContext context, GoRouterState state, GoRouter router)
-
The function signature of
GoRouter.onException
.
-
GoRouterBuilderWithNav
= Widget Function(BuildContext context, Widget child)
-
Signature of a go router builder function with navigator.
-
GoRouterPageBuilder
= Page Function(BuildContext context, GoRouterState state)
-
The page builder for GoRoute.
-
GoRouterRedirect
= FutureOr<String?> Function(BuildContext context, GoRouterState state)
-
The signature of the redirect callback.
-
GoRouterWidgetBuilder
= Widget Function(BuildContext context, GoRouterState state)
-
The widget builder for GoRoute.
-
The signature that iterates header fields.
-
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, {ExtendedImageGestureState? imageGestureState})
-
Build image for gesture, we can handle custom Widget about gesture
-
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(DioException error, ErrorInterceptorHandler handler)
-
The signature of Interceptor.onError.
-
InterceptorSendCallback
= void Function(RequestOptions options, RequestInterceptorHandler handler)
-
The signature of Interceptor.onRequest.
-
InterceptorSuccessCallback
= void Function(Response response, ResponseInterceptorHandler handler)
-
The signature of Interceptor.onResponse.
-
JsonDecodeCallback
= FutureOr Function(String)
-
The callback definition for decoding a JSON string.
-
JsonEncodeCallback
= FutureOr<String> Function(Object)
-
The callback definition for encoding a JSON object.
-
KeyComparator
= int Function(dynamic key1, dynamic key2)
-
-
KeyUrlResolver
= Future<String?> Function(String url)
-
-
LoadStateChanged
= Widget? Function(ExtendedImageState state)
-
extended_image_typedef.dart
create by zmtzawqlp on 2019/4/3
-
LogCallback
= void Function(LogEvent event)
-
-
MergeEditRect
= Rect Function(Rect editRect)
-
Return merged editRect rect
-
NavigatorBuilder
= Widget Function(GlobalKey<NavigatorState> navigatorKey, ShellRouteMatch match, RouteMatchList matchList, List<NavigatorObserver>? observers, String? restorationScopeId)
-
Signature for functions used to build Navigators
-
NeatPeriodicTask
= Future<void> Function()
-
Interface for a periodic task.
-
OnSlidingPage
= void Function(ExtendedImageSlidePageState state)
-
Call on sliding page
-
OutputCallback
= void Function(OutputEvent event)
-
-
PaintBackground
= bool Function(BackgroundTextSpan backgroundTextSpan, Canvas canvas, Offset offset, TextPainter? painter, Rect rect, {Offset? endOffset, TextPainter? wholeTextPainter})
-
if you don't want use default, please return true.
endOffset is the text top-right Offfset
allTextPainter is the text painter of extended text.
painter is current background text painter
-
ParserExceptionHandler
= RouteMatchList Function(BuildContext context, RouteMatchList routeMatchList)
-
The function signature of GoRouteInformationParser.onParserException.
-
PopPageWithRouteMatchCallback
= bool Function(Route route, dynamic result, RouteMatchBase match)
-
Signature for a function that takes in a
route
to be popped with
the result
and returns a boolean decision on whether the pop
is successful.
-
ProgressCallback
= void Function(int count, int total)
-
The type of a progress listening callback when sending or receiving data.
-
RebuildFactor
= bool Function(MediaQueryData old, MediaQueryData data)
-
-
ReparentChildBuilder
= Widget Function(Widget parent, Widget child)
-
The builder type used by Animate.reparentTypes. It must accept an existing
parent widget, and rebuild it with the provided child. In effect, it clones
the provided parent widget with the new child.
-
RequestEncoder
= FutureOr<List<int>> Function(String request, RequestOptions options)
-
The type of a request encoding callback.
-
ResponseDecoder
= FutureOr<String?> Function(List<int> responseBytes, RequestOptions options, ResponseBody responseBody)
-
The type of a response decoding callback.
-
RouteMatchVisitor
= bool Function(RouteMatchBase)
-
The function signature for
RouteMatchList.visitRouteMatches
-
ScopeDisposeFunc
= FutureOr Function()
-
Signature for disposing function on scope level
-
ScreenUtilInitBuilder
= Widget Function(BuildContext context, Widget? child)
-
-
ShaderUpdateCallback
= EdgeInsets? Function(ShaderUpdateDetails details)
-
Function signature for ShaderEffect update handlers.
-
ShellNavigationContainerBuilder
= Widget Function(BuildContext context, StatefulNavigationShell navigationShell, List<Widget> children)
-
Builder for a custom container for the branch Navigators of a
StatefulShellRoute.
-
ShellRouteBuilder
= Widget Function(BuildContext context, GoRouterState state, Widget child)
-
The widget builder for ShellRoute.
-
ShellRoutePageBuilder
= Page Function(BuildContext context, GoRouterState state, Widget child)
-
The page builder for ShellRoute.
-
ShouldAccpetHorizontalOrVerticalDrag
= bool Function(Map<int, VelocityTracker> velocityTrackers)
-
-
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
-
SpecialTextGestureTapCallback
= void Function(dynamic parameter)
-
create by zmtzawqlp on 2019/6/5
-
StatefulShellRouteBuilder
= Widget Function(BuildContext context, GoRouterState state, StatefulNavigationShell navigationShell)
-
The widget builder for StatefulShellRoute.
-
StatefulShellRoutePageBuilder
= Page Function(BuildContext context, GoRouterState state, StatefulNavigationShell navigationShell)
-
The page builder for StatefulShellRoute.
-
SvgErrorWidgetBuilder
= Widget Function(BuildContext context, Object error, StackTrace stackTrace)
-
Builder function to create an error widget. This builder is called when
the image failed loading.
-
ToggleEffectBuilder
= Widget Function(BuildContext context, bool value, Widget child)
-
-
ValidateStatus
= bool Function(int? status)
-
The type of a response status code validate callback.
-
WidgetKeyboardBuilder<T>
= Widget Function(BuildContext context, T value, bool? hasFocus)
-
Signature for a function that creates a widget for a given value