os_basecode
library
Classes
AbstractConnectableStream <T , S extends Subject <T > , R extends Stream <T > >
Base class for implementations of ConnectableStream .
S
is type of the forwarding Subject .
R
is return type of autoConnect and refCount (type constraint: S extends R
).
AccessibilitySection
All the simulated accessibility settings.
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.
AlignEffect
An effect that animates the target between the specified begin and end
alignments (via Align ).
Defaults to begin=Align.topCenter, end=Align.center
.
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
.
ApiInterceptors
Applicative <F >
ApplicativeOps <F , A >
ApplicativePlus <F >
ApplicativePlusOps <F , A >
AppPathProvider
AssetLottie
Attempt <A >
AVLTree <A >
AVLTreeMonoid <A >
BackgroundTransformer
The default Transformer for Dio .
BaseOptions
The base config for the Dio instance, used by Dio.options .
BehaviorSubject <T >
A special StreamController that captures the latest item that has been
added to the controller, and emits that as the first item to any new
listener.
Bidi
This provides utility methods for working with bidirectional text. All
of the methods are static, and are organized into a class primarily to
group them together for documentation and discoverability.
BidiFormatter
Bidi stands for Bi-directional text. According to
Wikipedia :
Bi-directional text is text containing text in both text directionalities,
both right-to-left (RTL) and left-to-right (LTR). It generally involves text
containing different types of alphabets, but may also refer to
boustrophedon, which is changing text directionality in each row.
Bind <F , A , B >
Bloc <Event , State >
Takes a Stream
of Events
as input
and transforms them into a Stream
of States
as output.
BlocBase <State >
An interface for the core functionality implemented by
both Bloc and Cubit .
BlocBuilder <B extends StateStreamable <S > , S >
BlocBuilder handles building a widget in response to new states
.
BlocBuilder is analogous to StreamBuilder but has simplified API to
reduce the amount of boilerplate code needed as well as bloc -specific
performance improvements.
Please refer to BlocListener if you want to "do" anything in response to
state
changes such as navigation, showing a dialog, etc...
BlocBuilderBase <B extends StateStreamable <S > , S >
Base class for widgets that build themselves based on interaction with
a specified bloc .
BlocConsumer <B extends StateStreamable <S > , S >
BlocConsumer exposes a builder and listener in order react to new
states.
BlocConsumer is analogous to a nested BlocListener
and BlocBuilder
but reduces the amount of boilerplate needed.
BlocConsumer should only be used when it is necessary to both rebuild UI
and execute other reactions to state changes in the bloc .
BlocEventSink <Event extends Object ? >
An ErrorSink that supports adding events.
BlocListener <B extends StateStreamable <S > , S >
Takes a BlocWidgetListener and an optional bloc and invokes
the listener in response to state
changes in the bloc .
It should be used for functionality that needs to occur only in response to
a state
change such as navigation, showing a SnackBar
, showing
a Dialog
, etc...
The listener is guaranteed to only be called once for each state
change
unlike the builder
in BlocBuilder
.
BlocListenerBase <B extends StateStreamable <S > , S >
Base class for widgets that listen to state changes in a specified bloc .
BlocObserver
An interface for observing the behavior of Bloc instances.
BlocOverrides
This class facilitates overriding BlocObserver and EventTransformer .
It should be extended by another class in client code with overrides
that construct a custom implementation. The implementation in this class
defaults to the base blocObserver and eventTransformer implementation.
For example:
BlocProvider <T extends StateStreamableSource <Object ? > >
Takes a Create
function that is responsible for
creating the Bloc or Cubit and a child which will have access
to the instance via BlocProvider.of(context)
.
It is used as a dependency injection (DI) widget so that a single instance
of a Bloc or Cubit can be provided to multiple widgets within a subtree.
BlocSelector <B extends StateStreamable <S > , S , T >
BlocSelector is analogous to BlocBuilder but allows developers to
filter updates by selecting a new value based on the bloc state.
Unnecessary builds are prevented if the selected value does not change.
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
.
BooleanConjunctionMonoid
BooleanDisjunctionMonoid
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))
BufferCountStreamTransformer <T >
Buffers a number of values from the source Stream by count then
emits the buffer and clears it, and starts a new buffer each
startBufferEvery values. If startBufferEvery is not provided,
then new buffers are started immediately at the start of the source
and when each buffer closes and is emitted.
BufferStreamTransformer <T >
Creates a Stream where each item is a List containing the items
from the source sequence.
BufferTestStreamTransformer <T >
Creates a Stream where each item is a List containing the items
from the source sequence, batched whenever test passes.
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.
CancelToken
Controls cancellation of Dio 's requests.
Change <State >
A Change represents the change from one State
to another.
A Change consists of the currentState and nextState .
ChangeNotifierAdapter
Drives an Animate animation from a ChangeNotifier . The valueGetter
should provide a value in the range 0-1
when a change occurs.
Client
Closable
An object that must be closed when no longer in use.
CloseFile
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)
.
CombineLatestStream <T , R >
Merges the given Streams into one Stream sequence by using the
combiner function whenever any of the source stream sequences emits an
item.
CommonFailure
ComparableOrder <A extends Comparable >
ComposedFunctor <F , G >
CompositeSubscription
Acts as a container for multiple subscriptions that can be canceled at once
e.g. view subscriptions in Flutter that need to be canceled on view disposal
ConcatEagerStream <T >
Concatenates all of the specified stream sequences, as long as the
previous stream sequence terminated successfully.
ConcatStream <T >
Concatenates all of the specified stream sequences, as long as the
previous stream sequence terminated successfully.
ConnectableStream <T >
A ConnectableStream resembles an ordinary Stream, except that it
can be listened to multiple times and does not begin emitting items when
it is listened to, but only when its connect method is called.
ConnectableStreamSubscription <T >
A special StreamSubscription that not only cancels the connection to
the source Stream , but also closes down a subject that drives the Stream.
ConnectionFailure
Cons <A >
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.
Cubit <State >
A Cubit is similar to Bloc but has no notion of events
and relies on methods to emit new states.
CustomDeviceInfoData
Info about a device and its frame.
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.
DatabaseFailure
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive
manner.
DebounceStreamTransformer <T >
Transforms a Stream so that will only emit items from the source sequence
if a window has completed, without the source sequence emitting
another item.
DefaultIfEmptyStreamTransformer <S >
Emit items from the source Stream , or a single default item if the source
Stream emits nothing.
DeferStream <T >
The defer factory waits until a listener subscribes to it, and then it
creates a Stream with the given factory function.
Delay <A >
DelayStreamTransformer <S >
The Delay operator modifies its source Stream by pausing for
a particular increment of time (that you specify) before emitting
each of the source Stream’s items.
This has the effect of shifting the entire sequence of items emitted
by the Stream forward in time by that specified increment.
DelayWhenStreamTransformer <T >
Delays the emission of items from the source Stream by a given time span
determined by the emissions of another Stream .
DematerializeStreamTransformer <S >
Converts the onData, onDone, and onError Notification objects from a
materialized stream into normal onData, onDone, and onError events.
DeviceFrame
Simulate a physical device and embedding a virtual
screen into it.
DeviceFrameStyle
The device frame style only allows to update the keyboardStyle for now.
DeviceFrameTheme
The theme gives a style to all its descentant device frames.
DeviceIdentifier
A unique identifier that represents a device.
DeviceInfo
Info about a device and its frame.
DeviceKeyboardStyle
The keyboard style allows to customize the virtual onscreen keyboard visuals.
DevicePreview
Simulates how the result of builder would render on different
devices.
DevicePreviewData
A DevicePreview configuration snapshot that can be
serialized to be persisted between sessions.
DevicePreviewSettingsData
Settings of device preview itself (tool bar position, background style).
DevicePreviewState
Represents the current state of the device preview.
DevicePreviewStorage
A storage for device preview user's preferences.
DevicePreviewStore
The store is a container for the current state of the device preview.
Devices
A list of common device specifications sorted by target platform.
DeviceScreenshot
A screenshot from a preview.
DeviceSection
All the simulated properties for the device.
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
DistinctUniqueStreamTransformer <S >
Create a Stream which implements a HashSet under the hood, using
the provided equals
as equality.
DoStreamTransformer <S >
Invokes the given callback at the corresponding point the the stream
lifecycle. For example, if you pass in an onDone callback, it will
be invoked when the stream finishes emitting items.
DropShadow
DualMonoid <A >
DualSemigroup <A >
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:
Either <L , R >
EitherLens <A , B , E >
EitherMonad <L >
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
.
Emittable <State extends Object ? >
An object that can emit new states.
Emitter <State >
An Emitter is a class which is capable of emitting new states.
EndWithManyStreamTransformer <S >
Appends a sequence of values to the source Stream .
EndWithStreamTransformer <S >
Appends a value to the source Stream before closing.
Eq <A >
EqOps <A >
ErrorAndStackTrace
An Object which acts as a tuple containing both an error and the
corresponding stack trace.
ErrorInterceptorHandler
The handler for interceptors to handle error occurred during the request.
ErrorSink
A generic destination for errors.
Evaluation <E , R , W , S , A >
EvaluationMonad <E , R , W , S >
Execute
ExecutionResult
ExhaustMapStreamTransformer <S , T >
Converts events from the source stream into a new Stream using a given
mapper. It ignores all items from the source stream until the new stream
completes.
FadeEffect
Animates the opacity of the target between the specified
begin and end values (via FadeTransition ).
It defaults to begin=0, end=1
.
FaIcon
Creates an Icon Widget that works for non-material Icons, such as the
Font Awesome Icons.
Fail <A >
Failure
FileDevicePreviewStorage
A storage that saves device preview user preferences into
a single file
as json content.
FileLottie
FileRef
FlatMapStreamTransformer <S , T >
Converts each emitted item into a new Stream using the given mapper function,
while limiting the maximum number of concurrent subscriptions to these Stream s.
The newly created Stream will be listened to and begin emitting items downstream.
FlipEffect
An effect that animates a 2.5D card flip rotation effect (via Transform ).
The effect can be horizontal or vertical.
Foldable <F >
FoldableOps <F , A >
FoldableOpsFoldable <F extends FoldableOps >
FollowPathEffect
An effect that moves the target following the specified path (via Transform ).
The path coordinates are relative to the target's nominal position.
FontAwesomeIcons
Icons based on font awesome 6.5.1
FontSizeResolvers
ForkJoinStream <T , R >
This operator is best used when you have a group of streams
and only care about the final emitted value of each.
One common use case for this is if you wish to issue multiple
requests on page load (or some other event)
and only want to take action when a response has been received for all.
FormData
A class to create readable "multipart/form-data" streams.
It can be used to submit forms and file uploads to http server.
FrameRate
Free <F , A >
Free2 <First , Second >
Free3 <First , Second , Third >
FreeComposer <F , C >
FreeMonad <F >
FreeOps <F , O >
FromCallableStream <T >
Returns a Stream that, when listening to it, calls a function you specify
and then emits the value returned from that function.
Function0TraversableMonad
Functor <F >
FunctorOps <F , A >
FutureMonad
Gather <A >
GenericDesktopMonitorFramePainter
GenericLaptopFramePainter
GenericPhoneFramePainter
GenericTabletFramePainter
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
GoogleFonts
Provides configuration, and static methods to obtain TextStyle s and TextTheme s.
GoRoute
Configuration
Get started
Named routes
Redirection
Transition animations
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
Configuration
Deep linking
Error handling
Get started
Named routes
Navigation
Redirection
Upgrading
Web
The route configuration for the app.
GoRouterDelegate
GoRouter implementation of RouterDelegate .
GoRouterState
The route state during routing.
GroupByStreamTransformer <T , K >
The GroupBy operator divides a Stream that emits items into
a Stream that emits GroupedStream ,
each one of which emits some subset of the items
from the original source Stream .
GroupedStream <T , K >
The Stream used by GroupByStreamTransformer , it contains events
that are grouped by a key value.
The headers class for requests and responses.
HttpClientAdapter
HttpAdapter
is a bridge between Dio and HttpClient .
IconDataBrands
IconData for a font awesome brand icon from a code point
IconDataDuotone
IconData for a font awesome duotone icon from a code point. Only works if
duotone icons (font awesome pro) have been installed.
IconDataLight
IconData for a font awesome light icon from a code point. Only works if
light icons (font awesome pro) have been installed.
IconDataRegular
IconData for a font awesome regular icon from a code point
IconDataSolid
IconData for a font awesome solid icon from a code point
IconDataThin
IconData for a font awesome thin icon from a code point. Only works if
thin icons (font awesome pro, v6+) have been installed.
IdFreeComposer <F >
IdMonad
IdTraversable
IgnoreElementsStreamTransformer <S >
Creates a Stream where all emitted items are ignored, only the
error / completed notifications are passed
IHashMap <K , V >
IList <A >
IListMonoid <A >
IListTMonad <M >
IMap <K , V >
IMapMonoid <K , V >
ImperativeRouteMatch
The route match that represent route pushed through GoRouter.push .
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 Interceptor s.
InterceptorsWrapper
A helper class to create interceptors in ease.
IntervalStreamTransformer <S >
Creates a Stream that emits each item in the Stream after a given
duration.
Intl
The Intl class provides a common entry point for internationalization
related tasks. An Intl instance can be created for a particular locale
and used to create a date format via anIntl.date()
. Static methods
on this class are also used in message formatting.
IntSumMonoid
IOMonad
IOOp <A >
IOOps <F >
ISet <A >
ISetMonoid <A >
IteratorEq <A >
IVector <A >
IVectorMonoid <A >
Left <L , R >
LeftFreeComposer <LL , L , R >
Lens <AIn , AOut , BIn , BOut >
ListenEffect
An effect that calls a callback function with its current animation value
between begin and end .
ListMonoid <A >
ListParam <T >
Indicates a param being used as queries or form data,
and how does it gets formatted.
ListTMonad <M >
ListTraversableMonadPlus
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.
Lottie
A widget to display a loaded LottieComposition .
The controller property allows to specify a custom AnimationController that
will drive the animation. If controller is null, the animation will play
automatically and the behavior could be adjusted with the properties animate ,
repeat and reverse .
LottieBuilder
A widget that displays a Lottie animation.
LottieCache
LottieComposition
LottieDelegates
LottieDrawable
LottieFontStyle
LottieImageAsset
LottieOptions
LottieProvider
MapNotNullStreamTransformer <T , R extends Object >
Create a Stream containing only the non-null
results
of applying the given transform function to each element of the Stream.
MapToStreamTransformer <S , T >
Emits the given constant value on the output Stream every time the source
Stream emits a value.
Marker
MaterializeStreamTransformer <S >
Converts the onData, on Done, and onError events into Notification
objects that are passed into the downstream onData listener.
MaxSemigroup <A >
MemoryLottie
MergeStream <T >
Flattens the items emitted by the given streams into a single Stream
sequence.
MicroMoney
Used primarily for currency formatting, this number-like class stores
millionths of a currency unit, typically as an Int64.
MinSemigroup <A >
Monad <F >
MonadCatch <F >
MonadCatchOps <F , A >
MonadOps <F , A >
MonadOpsMonad <F extends MonadOps >
MonadPlus <F >
MonadPlusOps <F , A >
MonadPlusOpsMonadPlus <F extends MonadPlusOps >
Monoid <A >
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 .
MultiBlocListener
Merges multiple BlocListener widgets into one widget tree.
MultiBlocProvider
Merges multiple BlocProvider widgets into one widget tree.
MultipartFile
A file to be uploaded as part of a MultipartRequest
. This doesn't need to
correspond to a physical file.
MultiRepositoryProvider
Merges multiple RepositoryProvider widgets into one widget tree.
NamedLocale
A locale that has a display name.
NetworkLottie
NeverStream <T >
Returns a non-terminating stream sequence, which can be used to denote
an infinite duration.
Nil <A >
NoDevicePreviewStorage
A storage that keep preferences only in memory : they are reset on each
fresh start of the app.
None <A >
Notification <T >
A class that encapsulates the Kind of event, value of the event in case of
onData, or the Error in the case of onError.
A container object that wraps the Kind of event (OnData, OnDone, OnError),
and the item or error that was emitted. In the case of onDone, no data is
emitted as part of the Notification .
NoTransitionPage <T >
Custom transition page with no transition.
NumberFormat
Provides the ability to format a number in a locale-specific way.
NumberParserBase <R >
NumericTextFormatter
NumMaxSemigroup
NumMinSemigroup
NumProductMonoid
NumSumMonoid
OnErrorResumeStreamTransformer <S >
Intercepts error events and switches to a recovery stream created by the
provided recoveryFn Function.
OpenFile
Option <A >
OptionLens <A , B >
OptionMonadPlus
OptionMonoid <A >
Options
Every request can pass an Options object which will be merged with Dio.options
OptionTraversable
Order <A >
PairwiseStreamTransformer <T >
Emits the n-th and n-1th events as a pair.
The first event won't be emitted until the second one arrives.
Plus <F >
PlusEmpty <F >
PlusEmptyOps <F , A >
PlusOps <F , A >
PreferencesDevicePreviewStorage
Since share_preferences makes pub considering the package as not supported we should
remove this functionnality from the web version to get the maximum score.
Println
PublishConnectableStream <T >
A ConnectableStream that converts a single-subscription Stream into
a broadcast Stream .
PublishSubject <T >
Exactly like a normal broadcast StreamController with one exception:
this class is both a Stream and Sink.
Pure <F , A >
QueuedInterceptor
Interceptor in queue.
QueuedInterceptorsWrapper
A helper class to create queued-interceptors in ease.
RaceStream <T >
Given two or more source streams, emit all of the items from only
the first of these streams to emit an item or notification.
RangeStream
Returns a Stream that emits a sequence of Integers within a specified
range.
RawLottie
A widget that displays a LottieDrawable directly.
ReadBytes
Readln
RebuildFactors
REdgeInsets
REdgeInsetsDirectional
RedirectRecord
A record that records the redirection happens during requests,
including status code, request method, and the location.
RenderCache
RepeatStream <T >
Creates a Stream that will recreate and re-listen to the source
Stream the specified number of times until the Stream terminates
successfully.
ReplayConnectableStream <T >
A ConnectableStream that converts a single-subscription Stream into
a broadcast Stream that replays emitted items to any new listener, and
provides synchronous access to the list of emitted values.
ReplayStream <T >
An Stream that provides synchronous access to the emitted values
ReplaySubject <T >
A special StreamController that captures all of the items that have been
added to the controller, and emits those as the first items to any new
listener.
RepositoryProvider <T >
Takes a Create
function that is responsible for creating the repository
and a child
which will have access to the repository via
RepositoryProvider.of(context)
.
It is used as a dependency injection (DI) widget so that a single instance
of a repository can be provided to multiple widgets within a subtree.
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.
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.
RetryStream <T >
Creates a Stream that will recreate and re-listen to the source
Stream the specified number of times until the Stream terminates
successfully.
RetryWhenStream <T >
Creates a Stream that will recreate and re-listen to the source
Stream when the notifier emits a new value. If the source Stream
emits an error or it completes, the Stream terminates.
Right <L , R >
RightFreeComposer <RR , L , R >
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
Rx
A utility class that provides static methods to create the various Streams
provided by RxDart.
SampleStreamTransformer <T >
A StreamTransformer that, when the specified window Stream emits
an item or completes, emits the most recently emitted item (if any)
emitted by the source Stream since the previous emission from
the sample Stream .
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)
.
ScanStreamTransformer <S , T >
Applies an accumulator function over an stream sequence and returns
each intermediate result. The seed value is used as the initial
accumulator value.
ScreenUtil
ScreenUtilInit
ScrollAdapter
Drives an Animate animation from a ScrollController .
Semigroup <A >
SequenceEqualStream <S , T >
Determine whether two Streams emit the same sequence of items.
You can provide an optional equals handler to determine equality.
ServerFailure
SettingsSection
All the settings for customizing the preview.
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 ).
SharedPreferences
Wraps NSUserDefaults (on iOS) and SharedPreferences (on Android), providing
a persistent store for simple data.
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 .
SimpleLens <A , B >
SkipLastStreamTransformer <T >
Skip the last count items emitted by the source Stream
SkipUntilStreamTransformer <S , T >
Starts emitting events only after the given stream emits an event.
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).
Some <A >
StartWithManyStreamTransformer <S >
Prepends a sequence of values to the source Stream .
StartWithStreamTransformer <S >
Prepends a value to the source Stream .
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
A route that displays a UI shell with separate Navigator s for its
sub-routes.
StatefulShellRouteData
Base class for supporting
StatefulShellRoute
StateMonad <S >
StateStreamable <State >
A Streamable that provides synchronous access to the current state .
StateStreamableSource <State >
A StateStreamable that must be closed when no longer in use.
StateT <F , S , A >
StateTMonad <F , S >
Streamable <State extends Object ? >
An object that provides access to a stream of states over time.
StringMonoid
Subject <T >
The base for all Subjects. If you'd like to create a new Subject,
extend from this class.
Supercharged
Importer helper class. Does nothing.
Suspend <F , A >
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.
SwitchIfEmptyStreamTransformer <S >
When the original stream emits no items, this operator subscribes to
the given fallback stream and emits items from that stream instead.
SwitchLatestStream <T >
Convert a Stream that emits Stream s (aka a 'Higher Order Stream') into a
single Stream that emits the items emitted by the most-recently-emitted of
those Stream s.
SwitchMapStreamTransformer <S , T >
Converts each emitted item into a new Stream using the given mapper
function. The newly created Stream will be be listened to and begin
emitting items, and any previously created Stream will stop emitting.
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 .
SystemSection
All the simulated system settings.
TakeLastStreamTransformer <T >
Emits only the final count values emitted by the source Stream .
TakeUntilStreamTransformer <S , T >
Returns the values from the source stream sequence until the other
stream sequence produces a value.
TakeWhileInclusiveStreamTransformer <S >
Emits values emitted by the source Stream so long as each value
satisfies the given test. When the test is not satisfied by a value, it
will emit this value as a final event and then complete.
Task <A >
TaskMonadCatch
TextDirection
Represents directionality of text.
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.
ThrottleStreamTransformer <T >
A StreamTransformer that emits a value from the source Stream ,
then ignores subsequent source values while the window Stream is open,
then repeats this process.
TimeInterval <T >
A class that represents a snapshot of the current value emitted by a
Stream , at a specified interval.
TimeIntervalStreamTransformer <S >
Records the time interval between consecutive values in an stream
sequence.
TimerStream <T >
Emits the given value after a specified amount of time.
Timestamped <T >
A class that represents a snapshot of the current value emitted by a
Stream , at a specified timestamp.
TimestampStreamTransformer <S >
Wraps each item emitted by the source Stream in a Timestamped object
that includes the emitted item and the time when the item was emitted.
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.
ToolPanelSection
A Sliver
representing a section in the DevicePreview menu.
ToStringOrder <A extends Object >
Trampoline <A >
Transformer
Transformer allows changes to the request/response data before
it is sent/received to/from the server.
Transition <Event , State >
A Transition is the change from one state to another.
Consists of the currentState , an event , and the nextState .
Traversable <F >
TraversableMonad <F >
TraversableMonadOps <F , A >
TraversableMonadPlus <F >
TraversableMonadPlusOps <F , A >
TraversableOps <F , A >
TraversableOpsTraversable <F extends TraversableOps >
Tuple10 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 >
Tuple11 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 >
Tuple12 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 >
Tuple13 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 >
Tuple14 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 >
Tuple15 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 >
Tuple16 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 >
Tuple17 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 >
Tuple18 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 >
Tuple19 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 >
Tuple2 <T1 , T2 >
Tuple20 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 >
Tuple2Monoid <T1 , T2 >
Tuple2Semigroup <T1 , T2 >
Tuple3 <T1 , T2 , T3 >
Tuple3Monoid <T1 , T2 , T3 >
Tuple3Semigroup <T1 , T2 , T3 >
Tuple4 <T1 , T2 , T3 , T4 >
Tuple4Monoid <T1 , T2 , T3 , T4 >
Tuple4Semigroup <T1 , T2 , T3 , T4 >
Tuple5 <T1 , T2 , T3 , T4 , T5 >
Tuple6 <T1 , T2 , T3 , T4 , T5 , T6 >
Tuple7 <T1 , T2 , T3 , T4 , T5 , T6 , T7 >
Tuple8 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 >
Tuple9 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 >
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
Unit
UnitMonoid
UsingStream <T , R >
When listener listens to it, creates a resource object from resource factory function,
and creates a Stream from the given factory function and resource as argument.
Finally when the stream finishes emitting items or stream subscription
is cancelled (call StreamSubscription.cancel or Stream.listen(cancelOnError: true)
),
call the disposer function on resource object.
ValueAdapter
Drives an Animate animation directly from a value in the range 0-1
ValueConnectableStream <T >
A ConnectableStream that converts a single-subscription Stream into
a broadcast Stream that replays the latest value to any new listener, and
provides synchronous access to the latest emitted value.
ValueDelegate <T >
ValueNotifierAdapter
Drives an Animate animation from a ValueNotifier . The value from the
notifier should be in the range 0-1
.
ValueStream <T >
An Stream that provides synchronous access to the last emitted item
VirtualKeyboard
Display a simulated on screen keyboard at the bottom of a child widget.
VisibilityEffect
An effect that toggles the visibility of the target (via Visibility ).
Defaults to end=true
.
WhereNotNullStreamTransformer <T extends Object >
Create a Stream which emits all the non-null
elements of the Stream,
in their original emission order.
WhereTypeStreamTransformer <S , T >
This transformer is a shorthand for Stream.where followed by Stream.cast .
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 ;-) )
WindowCountStreamTransformer <T >
Buffers a number of values from the source Stream by count then emits the
buffer as a Stream and clears it, and starts a new buffer each
startBufferEvery values. If startBufferEvery is not provided, then new
buffers are started immediately at the start of the source and when each
buffer closes and is emitted.
WindowStreamTransformer <T >
Creates a Stream where each item is a Stream containing the items
from the source sequence.
WindowTestStreamTransformer <T >
Creates a Stream where each item is a Stream containing the items
from the source sequence, batched whenever test passes.
WithLatestFromStreamTransformer <S , T , R >
A StreamTransformer that emits when the source stream emits, combining
the latest values from the two streams using the provided function.
WriteBytes
ZipStream <T , R >
Merges the specified streams into one stream sequence using the given
zipper Function whenever all of the stream sequences have produced
an element at a corresponding index.
Extensions
AddToCompositeSubscriptionExtension
on StreamSubscription <T >
Extends the StreamSubscription class with the ability to be added to CompositeSubscription container.
AlignEffectExtensions
on T
Adds AlignEffect related extensions to AnimateManager
.
AnimatableSCF
on Animatable <T >
Supercharged Flutter extension on Animatable objects.
AnimateListExtensions
on List <Widget >
Adds AnimateList related extensions to List<Widget>
.
AnimateWidgetExtensions
on Widget
Adds Animate related extensions to Widget .
AnimationControllerLoopExtensions
on AnimationController
Adds a loop extension on AnimationController identical to repeat but
adding a count
parameter specifying how many times to repeat before stopping:
AnimationSCF
on Animation <double >
Supercharged Flutter extension on Animation objects.
BlurEffectExtensions
on T
Adds BlurEffect related extensions to AnimateManager
.
BorderRadiusExtension
on BorderRadius
BoxConstraintsExtension
on BoxConstraints
BoxShadowEffectExtensions
on T
Adds BoxShadowEffect related extensions to AnimateManager
.
BufferExtensions
on Stream <T >
Extends the Stream class with the ability to buffer events in various ways
CallbackEffectExtensions
on T
Adds CallbackEffect related extensions to AnimateManager
.
ColorEffectExtension
on T
Adds ColorEffect related extensions to AnimateManager
.
ColorSCF
on Color
Supercharged Flutter extension on Color objects.
ConcatExtensions
on Stream <T >
Extends the Stream class with the ability to concatenate one stream with
another.
ConnectableStreamExtensions
on Stream <T >
Extends the Stream class with the ability to transform a single-subscription
Stream into a ConnectableStream.
CrossfadeEffectExtensions
on T
Adds CrossfadeEffect related extensions to AnimateManager
.
CustomEffectExtensions
on T
Adds CustomEffect related extensions to AnimateManager
.
DateTimeSC
on DateTime
Supercharged extension on DateTime objects.
DebounceExtensions
on Stream <T >
Extends the Stream class with the ability to debounce events in various ways
DefaultIfEmptyExtension
on Stream <T >
DelayExtension
on Stream <T >
Extends the Stream class with the ability to delay events being emitted
DelayWhenExtension
on Stream <T >
Extends the Stream class with the ability to delay events being emitted.
DematerializeExtension
on Stream <Notification <T > >
Converts the onData, onDone, and onError Notification s from a
materialized stream into normal onData, onDone, and onError events.
DeviceInfoExtension
on DeviceInfo
DevicePreviewStateHelperExtensions
on DevicePreviewStore
A set of extension to triggers updates of the state.
DistinctUniqueExtension
on Stream <T >
Extends the Stream class with the ability to skip items that have previously
been emitted.
DoExtensions
on Stream <T >
Extends the Stream class with the ability to execute a callback function
at different points in the Stream's lifecycle.
DoubleSC
on double
Supercharged extensions on double numbers.
DoubleSCF
on double
Supercharged Flutter extensions on double numbers.
DurationSC
on Duration
Supercharged extensions on Duration .
EdgeInsetsExtension
on EdgeInsets
EffectExtensions
on T
Adds Effect related extensions to AnimateManager
.
ElevationEffectExtensions
on T
Adds ElevationEffect related extensions to AnimateManager
.
EndWithExtension
on Stream <T >
Extends the Stream class with the ability to emit the given value as the
final item before closing.
EndWithManyExtension
on Stream <T >
Extends the Stream class with the ability to emit the given value as the
final item before closing.
ExhaustMapExtension
on Stream <T >
Extends the Stream class with the ability to transform the Stream into
a new Stream. The new Stream emits items and ignores events from the source
Stream until the new Stream completes.
FadeEffectExtensions
on T
Adds FadeEffect related extensions to AnimateManager
.
FlatMapExtension
on Stream <T >
Extends the Stream class with the ability to convert the source Stream into
a new Stream each time the source emits an item.
FlipEffectExtensions
on T
Adds FlipEffect related extensions to AnimateManager
.
FollowPathEffectExtensions
on T
Adds FollowPathEffect related extensions to AnimateManager
.
GoRouterHelper
on BuildContext
Dart extension to add navigation function to a BuildContext object, e.g.
context.go('/');
GroupByExtension
on Stream <T >
Extends the Stream class with the ability to convert events into Streams
of events that are united by a key.
IgnoreElementsExtension
on Stream <T >
Extends the Stream class with the ability to skip, or ignore, data events.
IntervalExtension
on Stream <T >
Extends the Stream class with the ability to emit each item after a given
duration.
IntSC
on int
Supercharged extensions on int numbers.
IntSCF
on int
Supercharged Flutter extensions on int numbers.
IterableOfDoubleSC
on Iterable <double >
Supercharged extensions on Iterable<double> like List<double> and Set<double> .
IterableOfIntSC
on Iterable <int >
Supercharged extensions on Iterable<int> like List<int> and Set<int> .
IterableOfMapEntrySC
on Iterable <MapEntry <K , V > >
Supercharged extensions on Iterable<MapEntry> like List<MapEntry> and Set<MapEntry> .
IterableSC
on Iterable <T >
Supercharged extensions on Iterables
like List and Set .
ListenEffectExtensions
on T
Adds ListenEffect related extensions to AnimateManager
.
ListSC
on List <T >
Supercharged extensions on List .
MapNotNullExtension
on Stream <T >
Extends the Stream class with the ability to convert the source Stream
to a Stream containing only the non-null
results
of applying the given transform
function to each element of this Stream.
MapSC
on Map <K , V >
Supercharged extensions on Map .
MapToExtension
on Stream <S >
Extends the Stream class with the ability to convert each item to the same
value.
MaterializeExtension
on Stream <T >
Extends the Stream class with the ability to convert the onData, on Done,
and onError events into Notification s that are passed into the
downstream onData listener.
MaxExtension
on Stream <T >
Extends the Stream class with the ability to transform into a Future
that completes with the largest item emitted by the Stream.
MergeExtension
on Stream <T >
Extends the Stream class with the ability to merge one stream with another.
MinExtension
on Stream <T >
Extends the Stream class with the ability to transform into a Future
that completes with the smallest item emitted by the Stream.
MoveEffectExtensions
on T
Adds MoveEffect related extensions to AnimateManager
.
NumDurationExtensions
on num
Adds extensions to num (ie. int & double) to make creating durations simple:
OffsetCopyWithExtensions
on Offset
Adds a copyWith
method to Offset.
OffsetSCF
on Offset
Supercharged Flutter extensions on Offset .
OnErrorExtensions
on Stream <T >
Extends the Stream class with the ability to recover from errors in various
ways
PairwiseExtension
on Stream <T >
Extends the Stream class with the ability to emit the nth and n-1th events
as a pair
RadiusExtension
on Radius
ReadContext
on BuildContext
Exposes the read method.
RectSCF
on Rect
Supercharged Flutter extensions on Rect .
RotateEffectExtensions
on T
Adds RotateEffect related extensions to AnimateManager
.
SampleExtensions
on Stream <T >
Extends the Stream class with the ability to sample events from the Stream
SaturateEffectExtensions
on T
Adds SaturateEffect related extensions to AnimateManager
.
ScaleEffectExtensions
on T
Adds ScaleEffect related extensions to AnimateManager
.
ScanExtension
on Stream <T >
Extends
SelectContext
on BuildContext
Adds a select
method on BuildContext .
ShaderEffectExtensions
on T
Adds ShaderEffect related extensions to AnimateManager
.
ShakeEffectExtensions
on T
Adds ShakeEffect related extensions to AnimateManager
.
ShimmerEffectExtensions
on T
Adds ShimmerEffect related extensions to AnimateManager
.
SizeExtension
on num
SizeSCF
on Size
Supercharged Flutter extensions on Size .
SkipLastExtension
on Stream <T >
Extends the Stream class with the ability to skip the last count
items
emitted by the source Stream
SkipUntilExtension
on Stream <T >
Extends the Stream class with the ability to skip events until another
Stream emits an item.
SlideEffectExtensions
on T
Adds SlideEffect related extensions to AnimateManager
.
StartWithExtension
on Stream <T >
Extends the Stream class with the ability to emit the given value as the
first item.
StartWithManyExtension
on Stream <T >
Extends the Stream class with the ability to emit the given values as the
first items.
StringSC
on String
Supercharged extensions on String .
StringSCF
on String
Supercharged Flutter extensions on String .
SwapEffectExtensions
on T
Adds SwapEffect related extensions to AnimateManager
.
SwitchIfEmptyExtension
on Stream <T >
Extend the Stream class with the ability to return an alternative Stream
if the initial Stream completes with no items.
SwitchMapExtension
on Stream <T >
Extends the Stream with the ability to convert one stream into a new Stream
whenever the source emits an item. Every time a new Stream is created, the
previous Stream is discarded.
TakeLastExtension
on Stream <T >
Extends the Stream class with the ability receive only the final count
events from the source Stream .
TakeUntilExtension
on Stream <T >
Extends the Stream class with the ability receive events from the source
Stream until another Stream produces a value.
TakeWhileInclusiveExtension
on Stream <T >
Extends the Stream class with the ability to take events while they pass
the condition given and include last event that doesn't pass the condition.
TaskBoolOps
on Task <bool >
TaskFlattenOps
on Task <Task <A > >
ThenEffectExtensions
on T
Adds ThenEffect related extensions to AnimateManager
.
ThrottleExtensions
on Stream <T >
Extends the Stream class with the ability to throttle events in various ways
TimeIntervalExtension
on Stream <T >
Extends the Stream class with the ability to record the time interval
between consecutive values in an stream
TimeStampExtension
on Stream <T >
Extends the Stream class with the ability to wrap each item emitted by the
source Stream in a Timestamped object that includes the emitted item and
the time when the item was emitted.
TintEffectExtensions
on T
Adds TintEffect related extensions to AnimateManager
.
ToggleEffectExtensions
on T
Adds ToggleEffect related extensions to AnimateManager
.
VisibilityEffectExtensions
on T
Adds VisibilityEffect related extensions to AnimateManager
.
WatchContext
on BuildContext
Exposes the watch method.
WhereNotNullExtension
on Stream <T? >
Extends the Stream class with the ability to convert the source Stream
to a Stream which emits all the non-null
elements
of this Stream, in their original emission order.
WhereTypeExtension
on Stream <T >
Extends the Stream class with the ability to filter down events to only
those of a specific type.
WindowExtensions
on Stream <T >
Extends the Stream class with the ability to window
WithLatestFromExtensions
on Stream <T >
Extends the Stream class with the ability to merge the source Stream with
the last emitted item from another Stream.
ZipWithExtension
on Stream <T >
Extends the Stream class with the ability to zip one Stream with another.
Functions
basicLocaleListResolution (List <Locale > ? preferredLocales , Iterable <Locale > supportedLocales )
→ Locale
buildGenericDesktopMonitorDevice ({required TargetPlatform platform , required String id , required String name , required Size screenSize , required Rect windowPosition , EdgeInsets safeAreas = EdgeInsets.zero , double pixelRatio = 2.0 , EdgeInsets ? rotatedSafeAreas , GenericDesktopMonitorFramePainter ? framePainter })
→ DeviceInfo
Creates a generic desktop monitor device definition for the given name
, target
platform
and screenSize
. The windowPosition
defines the position of a virtual
window with a window frame adapted for the given platform.
buildGenericLaptopDevice ({required TargetPlatform platform , required String id , required String name , required Size screenSize , required Rect windowPosition , EdgeInsets safeAreas = EdgeInsets.zero , double pixelRatio = 2.0 , EdgeInsets ? rotatedSafeAreas , GenericLaptopFramePainter ? framePainter })
→ DeviceInfo
Creates a generic laptop device definition.
buildGenericPhoneDevice ({required TargetPlatform platform , required String id , required String name , required Size screenSize , EdgeInsets safeAreas = EdgeInsets.zero , EdgeInsets rotatedSafeAreas = EdgeInsets.zero , double pixelRatio = 2.0 , GenericPhoneFramePainter framePainter = const GenericPhoneFramePainter() })
→ DeviceInfo
Creates a generic phone device definition.
buildGenericTabletDevice ({required TargetPlatform platform , required String id , required String name , required Size screenSize , EdgeInsets safeAreas = EdgeInsets.zero , EdgeInsets rotatedSafeAreas = EdgeInsets.zero , double pixelRatio = 2.0 , GenericTabletFramePainter framePainter = const GenericTabletFramePainter() })
→ DeviceInfo
Creates a generic tablet device definition.
cacheInterceptor ({Duration ? maxStale , List <int > ? hitCacheOnErrorExcept })
→ DioCacheInterceptor
cast <A > (dynamic a )
→ A
catching <A > (Function0 <A > thunk )
→ Either <dynamic , A >
comparableOrder <A extends Comparable > ()
→ Order <A >
composeF <A , B , C > (Function1 <B , C > f , Function1 <A , B > g )
→ Function1 <A , C >
composeInterpreters <L , R , O > (O lInterpreter (L l ), O rInterpreter (R r ) )
→ Function1 <Either <L , R > , O >
cons <A > (A head , IList <A > tail )
→ IList <A >
constF <A , B > (B b )
→ Function1 <A , B >
curry2 <A , B , C > (Function2 <A , B , C > fun )
→ Function1 <A , Function1 <B , C > >
curry3 <A , B , C , D > (Function3 <A , B , C , D > fun )
→ Function1 <A , Function1 <B , Function1 <C , D > > >
curry4 <A , B , C , D , E > (Function4 <A , B , C , D , E > fun )
→ Function1 <A , Function1 <B , Function1 <C , Function1 <D , E > > > >
curry5 <A , B , C , D , E , F > (Function5 <A , B , C , D , E , F > fun )
→ Function1 <A , Function1 <B , Function1 <C , Function1 <D , Function1 <E , F > > > > >
curry6 <A , B , C , D , E , F , G > (Function6 <A , B , C , D , E , F , G > fun )
→ Function1 <A , Function1 <B , Function1 <C , Function1 <D , Function1 <E , Function1 <F , G > > > > > >
debounce <T > (Duration duration )
→ EventTransformer <T >
dualEndoMi <A > ()
→ Monoid <Endo <A > >
dualMonoid <A > (Monoid <A > mi )
→ Monoid <A >
dualSemigroup <A > (Semigroup <A > si )
→ Semigroup <A >
eitherM <L > ()
→ EitherMonad <L >
eitherTr <L , R > ()
→ Traversable <Either <L , R > >
emptyAVLNode <A > ()
→ _AVLNode<A >
emptyMap <K extends Comparable , V > ()
→ IMap <K , V >
emptySet <A extends Comparable > ()
→ ISet <A >
emptySetWithOrder <A > (Order <A > order )
→ ISet <A >
emptyVector <A > ()
→ IVector <A >
endoMi <A > ()
→ Monoid <Endo <A > >
eq <A > (EqF <A > f )
→ Eq <A >
example ()
→ void
firstSemigroup <A > ()
→ Semigroup <A >
flip <A , B , C > (Function2 <A , B , C > f )
→ Function2 <B , A , C >
formatRupiah (double number )
→ String
freeM <F > ()
→ FreeMonad <F >
function0TrM <A > ()
→ TraversableMonad <Function0 <A > >
futureM <A > ()
→ Monad <Future <A > >
generateRandomString (int length , StringType type )
→ String
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.
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.
getNumberOnly (String value )
→ int
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.
id <A > (A a )
→ A
idF <A > ()
→ Endo <A >
ihashmap <K , V > (Map <K , V > m )
→ IHashMap <K , V >
ilist <A > (Iterable <A > iterable )
→ IList <A >
ilistMi <A > ()
→ Monoid <IList <A > >
ilistMP <A > ()
→ MonadPlus <IList <A > >
ilistTMonad (Monad mmonad )
→ Monad
imap <K extends Comparable , V > (Map <K , V > m )
→ IMap <K , V >
imapLensE <K , V , E > (K k , E eF () )
→ EitherLens <IMap <K , V > , V , E >
imapLensO <K , V > (K k )
→ OptionLens <IMap <K , V > , V >
imapMi <K extends Comparable , V > ()
→ Monoid <IMap <K , V > >
imapMonoid <K extends Comparable , V > (Semigroup <V > si )
→ Monoid <IMap <K , V > >
imapMonoidWithOrder <K , V > (Semigroup <V > si , Order <K > order )
→ Monoid <IMap <K , V > >
imapWithOrder <K , K2 extends K , V > (Order <K > o , Map <K2 , V > m )
→ IMap <K , V >
iomc <A > ()
→ MonadCatch <Free <IOOp , A > >
iota (int n )
→ IList <int >
iset <A extends Comparable > (Iterable <A > i )
→ ISet <A >
isetMi <A > (Order <A > o )
→ Monoid <ISet <A > >
isetWithOrder <A , A2 extends A > (Order <A > order , Iterable <A2 > i )
→ ISet <A >
iteratorEq <A > (Eq <A > aEq )
→ Eq <Iterator <A > >
ivector <A > (Iterable <A > iterable )
→ IVector <A >
ivectorLensE <A , E > (int i , E eF () )
→ EitherLens <IVector <A > , A , E >
ivectorLensO <A > (int i )
→ OptionLens <IVector <A > , A >
ivectorMi <A > ()
→ Monoid <IVector <A > >
ivectorMP <A > ()
→ MonadPlus <IVector <A > >
left <L , R > (L l )
→ Either <L , R >
lens <AIn , AOut , BIn , BOut > (Function1 <AIn , BOut > getter , Function2 <AIn , BIn , AOut > setter )
→ Lens <AIn , AOut , BIn , BOut >
lensE <A , B , E > (Function1 <A , Either <E , B > > getter , Function2 <A , B , Either <E , A > > setter )
→ EitherLens <A , B , E >
lensEtoO <A , B > (EitherLens <A , B , dynamic > aLens )
→ OptionLens <A , B >
lensO <A , B > (Function1 <A , Option <B > > getter , Function2 <A , B , Option <A > > setter )
→ OptionLens <A , B >
lensOToE <A , B , E > (OptionLens <A , B > aLens , E eF () )
→ EitherLens <A , B , E >
lensS <A , B > (Function1 <A , B > getter , Function2 <A , B , A > setter )
→ SimpleLens <A , B >
liftF <F , A > (F fa )
→ Free <F , A >
listMi <A > ()
→ Monoid <List <A > >
listMP <A > ()
→ MonadPlus <List <A > >
listTMonad <M > (Monad <M > mmonad )
→ Monad <M >
monoid <A > (A zero (), A append (A t1 , A t2 ) )
→ Monoid <A >
nil <A > ()
→ IList <A >
none <A > ()
→ Option <A >
objectEq <A > ()
→ Eq <A >
option <A > (bool test , A value )
→ Option <A >
optionMi <A > (Semigroup <A > si )
→ Monoid <Option <A > >
optionOf <A > (A? value )
→ Option <A >
order <A > (OrderF <A > f )
→ Order <A >
orderBy <A , B > (Order <B > o , B by (A a ) )
→ Order <A >
readableDateTime (String isoDateString )
→ String
right <L , R > (R r )
→ Either <L , R >
secondSemigroup <A > ()
→ Semigroup <A >
semigroup <A > (A append (A a1 , A a2 ) )
→ Semigroup <A >
singletonMap <K extends Comparable , V > (K k , V v )
→ IMap <K , V >
some <A > (A a )
→ Option <A >
stateM <S > ()
→ StateMonad <S >
taskMC <A > ()
→ MonadCatch <Task <A > >
tcall <T > (Function0 <Trampoline <T > > thunk )
→ Trampoline <T >
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
toBeginningOfSentenceCase <T extends String ? > (T input , [String ? locale ])
→ T
Convert a string to beginning of sentence case, in a way appropriate to the
locale.
treturn <T > (T t )
→ Trampoline <T >
tstateM <F , S > ()
→ StateTMonad <Trampoline <F > , S >
tuple10 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 )
→ Tuple10 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 >
tuple11 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 )
→ Tuple11 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 >
tuple12 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 )
→ Tuple12 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 >
tuple13 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 )
→ Tuple13 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 >
tuple14 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 )
→ Tuple14 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 >
tuple15 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 , T15 v15 )
→ Tuple15 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 >
tuple16 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 , T15 v15 , T16 v16 )
→ Tuple16 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 >
tuple17 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 , T15 v15 , T16 v16 , T17 v17 )
→ Tuple17 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 >
tuple18 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 , T15 v15 , T16 v16 , T17 v17 , T18 v18 )
→ Tuple18 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 >
tuple19 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 , T15 v15 , T16 v16 , T17 v17 , T18 v18 , T19 v19 )
→ Tuple19 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 >
tuple2 <T1 , T2 > (T1 v1 , T2 v2 )
→ Tuple2 <T1 , T2 >
tuple20 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 , T10 v10 , T11 v11 , T12 v12 , T13 v13 , T14 v14 , T15 v15 , T16 v16 , T17 v17 , T18 v18 , T19 v19 , T20 v20 )
→ Tuple20 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 >
tuple2Monoid <T1 , T2 > (Monoid <T1 > value1Monoid , Monoid <T2 > value2Monoid )
→ Monoid <Tuple2 <T1 , T2 > >
tuple2Semigroup <T1 , T2 > (Semigroup <T1 > value1Semigroup , Semigroup <T2 > value2Semigroup )
→ Semigroup <Tuple2 <T1 , T2 > >
tuple3 <T1 , T2 , T3 > (T1 v1 , T2 v2 , T3 v3 )
→ Tuple3 <T1 , T2 , T3 >
tuple3Monoid <T1 , T2 , T3 > (Monoid <T1 > value1Monoid , Monoid <T2 > value2Monoid , Monoid <T3 > value3Monoid )
→ Monoid <Tuple3 <T1 , T2 , T3 > >
tuple3Semigroup <T1 , T2 , T3 > (Semigroup <T1 > value1Semigroup , Semigroup <T2 > value2Semigroup , Semigroup <T3 > value3Semigroup )
→ Semigroup <Tuple3 <T1 , T2 , T3 > >
tuple4 <T1 , T2 , T3 , T4 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 )
→ Tuple4 <T1 , T2 , T3 , T4 >
tuple4Monoid <T1 , T2 , T3 , T4 > (Monoid <T1 > value1Monoid , Monoid <T2 > value2Monoid , Monoid <T3 > value3Monoid , Monoid <T4 > value4Monoid )
→ Monoid <Tuple4 <T1 , T2 , T3 , T4 > >
tuple4Semigroup <T1 , T2 , T3 , T4 > (Semigroup <T1 > value1Semigroup , Semigroup <T2 > value2Semigroup , Semigroup <T3 > value3Semigroup , Semigroup <T4 > value4Semigroup )
→ Semigroup <Tuple4 <T1 , T2 , T3 , T4 > >
tuple5 <T1 , T2 , T3 , T4 , T5 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 )
→ Tuple5 <T1 , T2 , T3 , T4 , T5 >
tuple6 <T1 , T2 , T3 , T4 , T5 , T6 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 )
→ Tuple6 <T1 , T2 , T3 , T4 , T5 , T6 >
tuple7 <T1 , T2 , T3 , T4 , T5 , T6 , T7 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 )
→ Tuple7 <T1 , T2 , T3 , T4 , T5 , T6 , T7 >
tuple8 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 )
→ Tuple8 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 >
tuple9 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 > (T1 v1 , T2 v2 , T3 v3 , T4 v4 , T5 v5 , T6 v6 , T7 v7 , T8 v8 , T9 v9 )
→ Tuple9 <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 >
tuplize2 <A , B , C > (Function2 <A , B , C > fun )
→ Function1 <Tuple2 <A , B > , C >
tuplize3 <A , B , C , D > (Function3 <A , B , C , D > fun )
→ Function1 <Tuple3 <A , B , C > , D >
tuplize4 <A , B , C , D , E > (Function4 <A , B , C , D , E > fun )
→ Function1 <Tuple4 <A , B , C , D > , E >
uncurry2 <A , B , C > (Function1 <A , Function1 <B , C > > fun )
→ Function2 <A , B , C >
uncurry3 <A , B , C , D > (Function1 <A , Function1 <B , Function1 <C , D > > > fun )
→ Function3 <A , B , C , D >
uncurry4 <A , B , C , D , E > (Function1 <A , Function1 <B , Function1 <C , Function1 <D , E > > > > fun )
→ Function4 <A , B , C , D , E >
uncurry5 <A , B , C , D , E , F > (Function1 <A , Function1 <B , Function1 <C , Function1 <D , Function1 <E , F > > > > > fun )
→ Function5 <A , B , C , D , E , F >
uncurry6 <A , B , C , D , E , F , G > (Function1 <A , Function1 <B , Function1 <C , Function1 <D , Function1 <E , Function1 <F , G > > > > > > fun )
→ Function6 <A , B , C , D , E , F , G >
Typedefs
AnimateCallback
= void Function(AnimationController controller )
Function signature for Animate callbacks.
BlocBuilderCondition <S >
= bool Function(S previous , S current )
Signature for the buildWhen
function which takes the previous state
and
the current state
and is responsible for returning a bool which
determines whether to rebuild BlocBuilder with the current state
.
BlocListenerCondition <S >
= bool Function(S previous , S current )
Signature for the listenWhen
function which takes the previous state
and the current state
and is responsible for returning a bool which
determines whether or not to call BlocWidgetListener of BlocListener
with the current state
.
BlocWidgetBuilder <S >
= Widget Function(BuildContext context , S state )
Signature for the builder
function which takes the BuildContext
and
state
and is responsible for returning a widget which is to be rendered.
This is analogous to the builder
function in StreamBuilder .
BlocWidgetListener <S >
= void Function(BuildContext context , S state )
Signature for the listener
function which takes the BuildContext
along
with the state
and is responsible for executing in response to
state
changes.
BlocWidgetSelector <S , T >
= T Function(S state )
Signature for the selector
function which
is responsible for returning a selected value, T
, based on state
.
CustomEffectBuilder
= Widget Function(BuildContext context , double value , Widget child )
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.
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>
Endo <A >
= A Function(A a )
EqF <A >
= bool Function(A a1 , A a2 )
EventHandler <Event , State >
= FutureOr <void > Function(Event event , Emitter <State > emit )
An event handler is responsible for reacting to an incoming Event
and can emit zero or more states via the Emitter .
EventMapper <Event >
= Stream <Event > Function(Event event )
Signature for a function which converts an incoming event
into an outbound stream of events.
Used when defining custom EventTransformer s.
EventTransformer <Event >
= Stream <Event > Function(Stream <Event > events , EventMapper <Event > mapper )
Used to change how events are processed.
By default events are processed concurrently.
ExitCallback
= FutureOr <bool > Function(BuildContext context , GoRouterState state )
Signature for function used in RouteBase.onExit
.
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
FontSizeResolver
= double Function(num fontSize , ScreenUtil instance )
Function0 <A >
= A Function()
Function1 <A , B >
= B Function(A a )
Function10 <A , B , C , D , E , F , G , H , I , J , K >
= K Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j )
Function11 <A , B , C , D , E , F , G , H , I , J , K , L >
= L Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k )
Function12 <A , B , C , D , E , F , G , H , I , J , K , L , M >
= M Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l )
Function13 <A , B , C , D , E , F , G , H , I , J , K , L , M , N >
= N Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m )
Function14 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O >
= O Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n )
Function15 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P >
= P Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n , O o )
Function16 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q >
= Q Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n , O o , P p )
Function17 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R >
= R Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n , O o , P p , Q q )
Function18 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S >
= S Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n , O o , P p , Q q , R r )
Function19 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T >
= T Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n , O o , P p , Q q , R r , S s )
Function2 <A , B , C >
= C Function(A a , B b )
Function20 <A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U >
= U Function(A a , B b , C c , D d , E e , F f , G g , H h , I i , J j , K k , L l , M m , N n , O o , P p , Q q , R r , S s , T t )
Function3 <A , B , C , D >
= D Function(A a , B b , C c )
Function4 <A , B , C , D , E >
= E Function(A a , B b , C c , D d )
Function5 <A , B , C , D , E , F >
= F Function(A a , B b , C c , D d , E e )
Function6 <A , B , C , D , E , F , G >
= G Function(A a , B b , C c , D d , E e , F f )
Function7 <A , B , C , D , E , F , G , H >
= H Function(A a , B b , C c , D d , E e , F f , G g )
Function8 <A , B , C , D , E , F , G , H , I >
= I Function(A a , B b , C c , D d , E e , F f , G g , H h )
Function9 <A , B , C , D , E , F , G , H , I , J >
= J Function(A a , B b , C c , D d , E e , F f , G g , H h , I i )
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.
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.
LottieDecoder
= Future <LottieComposition ? > Function(List <int > bytes )
A function that knows how to transform a list of bytes to a LottieComposition
LottieImageProviderFactory
= ImageProvider <Object > ? Function(LottieImageAsset )
NavigatorBuilder
= Widget Function(List <NavigatorObserver > ? observers , String ? restorationScopeId )
Signature for functions used to build Navigators
OrderF <A >
= Ordering Function(A a1 , A a2 )
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 .
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 .
ToggleEffectBuilder
= Widget Function(BuildContext context , bool value , Widget child )
ValidateStatus
= bool Function(int ? status )
The type of a response status code validate callback.