common/common
library
Classes
AbsThemeShadows
AbstractThemeColors
AppColors
AssetLoader
abstract class used to building your Custom AssetLoader
Example:
AStack
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.
BytesLoader
An interface that can be implemented to support decoding vector graphic
binary assets from different byte sources.
Cache
The cache for decoded SVGs.
ColorMapper
A class that transforms from one color to another during SVG parsing.
Completer <T >
A way to produce Future objects and to complete them later
with a value or error.
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive
manner.
DefaultSvgTheme
The SVG theme to apply to descendant SvgPicture widgets
which don't have explicit theme values.
DelayTarget
EasyLocalization
EasyLocalization
example:
EmptyExpanded
EventSink <T >
A Sink that supports adding errors.
Future <T >
The result of an asynchronous computation.
FutureOr <T >
A type representing values that are either Future<T> or T.
Height
HeightBox
SizedBox widget with specific height
HStack
A widget that displays its children in a horizontal array.
IndexedValue <T >
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.
Line
MaterialResponsiveUiData
A class that can be queried for breakpoints based on the guidelines in
https://material.io/guidelines/layout/responsive-ui.html .
MicroMoney
Used primarily for currency formatting, this number-like class stores
millionths of a currency unit, typically as an Int64.
MobileDeviceInfo
Combines MobileDeviceType and MobileDeviceSize .
MultiStreamController <T >
An enhanced stream controller provided by Stream.multi .
NumberFormat
Provides the ability to format a number in a locale-specific way.
NumberParserBase <R >
PictureInfo
The deocded result of a vector graphics asset.
PictureProvider
Deprecated class, will be removed, does not do anything.
RenderInnerShadow
RootBundleAssetLoader
default used is RootBundleAssetLoader which uses flutter's assetloader
SquareBox
SizedBox widget with equal width & height
Stream <T >
A source of asynchronous data events.
StreamConsumer <S >
Abstract interface for a "sink" accepting multiple entire streams.
StreamController <T >
A controller with the stream it controls.
StreamIterator <T >
An Iterator -like interface for the values of a Stream .
StreamSink <S >
A object that accepts stream events both synchronously and asynchronously.
StreamSubscription <T >
A subscription on events from a Stream .
StreamTransformer <S , T >
Transforms a Stream.
StreamTransformerBase <S , T >
Base class for implementing StreamTransformer .
StreamView <T >
Stream wrapper that only exposes the Stream interface.
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.
SynchronousStreamController <T >
A stream controller that delivers its events synchronously.
Tap
TextDirection
Represents directionality of text.
Timer
A countdown timer that can be configured to fire once or repeatedly.
VectorGraphicUtilities
Utility functionality for interaction with vector graphic assets.
VelocityXInkWellBuilder
VelocityXTextSpan
VStack
A widget that displays its children in a vertical array.
VxAdaptive
A widget that enables screen adaptation and scaling in Flutter applications.
VxAdaptiveNavigation
VxAdaptiveNavigation is a wigdet which can be used for navigation throughout
the app. On Small screen it use NavigationBar and on Large screen it use
NavigationRail.
VxAdaptiveScope
VxAnimatedBox
VxAnimatedBox is similar to AnimatedContainer with the advantages of VxBox
VxAnimatedHeightView <T extends Widget >
VxApp
Wrap your app with VxApp to use VxState and VxStore .
VxAppData
VxArc
VxArcClipper
VxBadge
VxBadge widget for using common badges as number or dot.
VxBevel
VxBlock
A widget that displays its children in a one-dimensional array.
VxBox
A convenience widget that combines common painting, positioning, and sizing
widgets.
VxBuilder <T >
A stream builder like widget that accepts
mutations and rebuilds after their execution.
VxCapsule
VxCard
A material design card: a panel with slightly rounded corners and an
elevation shadow.
VxCircle
VxClipShadow
VxClipShadowPainter
VxConditional
Runs a WidgetBuilder 's result if the condition is true.
VxConditionalSwitch
Renders widgets based on switch case conditions
Example:
VxConsumer <T >
A stream builder like widget that accepts
mutations and rebuilds after their execution.
VxContinuousRectangle
VxDarkModeButton
VxDarkModeMutation
VxDash
VelocityX widget to show Dashes with gaps if needed. It can be vertical or horizontal.
VxDevice
VxDevice widget can be used for making responsive apps based on if it's mobile or web.
In case, if you want more options based on window size, use VxResponsive .
You can specify two widgets depends on the screen size mobile and web .
They must not be null.
VxDiagonal
VxDiagonalClipper
A widget that clips its child diagonally.
Diagonal clipping starts from the position in the axis
ends up clipHeight distance from the opposite position
VxDivider
VxEllipse
VxEnsureVisibleWhenFocused
Helper class that ensures a Widget is visible when it has the focus
For example, for a TextFormField when the keyboard is displayed
VxEnsureVisibleWhenFocusedState
We implement the WidgetsBindingObserver to be notified of any change to the window metrics
VxFilter
VxFilter is used to apply different color filters to the child widget.
VxFlip
VxFlipState
VxGestureBuilder
A widget that detects gestures.
VxGlassmorphic
VxHalfClipper
VxHoverToggle
VxHoverToggle widget can help you for Desktop/Web apps to toggle between
two widgets on hover.
VxInlineBlock
VxInnerShadow
VxInterceptor
Implementation of this class can be used to act before or after
a mutation execution.
VxJson
VxJson can be used to show json in tree view of widgets
VxLayout
VxLayout is a type of LayoutBuilder with some additional power
VxMarquee
VxMarqueeState
VxMutation <T extends VxStore ? >
An implementation of this class holds the logic for updating the VxStore .
VxNeumorph
VxNeumorph class to accept list of shadows and a Gradient
VxNone
VxNone is a widget that takes no space and returns nothing
VxNotifier
Helper widget that executes the provided callbacks with context
on execution of the mutations. Useful to show SnackBar or navigate
to a different route after a mutation.
VxOrderedList
VxPaddingBuilder
A widget that insets its child by the given padding.
VxPasswordPainter
VxPinView
VxPinView to give a widget where OTP or Pin screen can be created easily
VxPinViewState
VxPlatform <A extends Widget , I extends Widget , W extends Widget , D extends Widget >
Sample
VxPopupMenu can help you in creating custom popup menus using overlay entry.
VxPopupMenuController gives you access to hide the menu or
toggle it using showMenu , hideMenu & toggleMenu .
VxRandomBox
A Container Widget that takes up a given width and height and paints itself with a
random color.
VxRandomBoxState
VxRating
VxRating widget to show ratings to the user and the user can change it too. Fully customizable
VxRatingState
VxResponsive
VelocityResponsive widget can be used for making responsive apps based on different window sizes.
You can specify multiple widgets depends on the screen size like xsmall , small , medium ,large ,
and xlarge . The fallback must not be null. It will be replaced if you don't specity any above widget.
VxRichText
Creates a AutoSizeText widget with a TextSpan .
VxScrollHorizontal
Widget to directly access SingleChildScrollView horizontally.
VxScrollVertical
Widget to directly access SingleChildScrollView vertically.
VxSelectableTextBuilder
A run of selectable text with a single style.
VxShifter
Use it to pin and shift widget useful for making complex ui Eg
Container(
height: 200,
width: 200,
decoration: BoxDecoration(shape: BoxShape.circle, color: Color(0xffE0D8F9)
),
).shift(100, alignment: Alignment.bottomRight) ,
VxShimmer
VxShimmer widget can be used to provide shimmer effect to any widget.
VxShimmerState
VxSizeConfig
VxSkeleton
To show skeleton with any widget.
VxSkeletonState
VxStat
A widget that displays a statistic with an icon.
VxState
The coordinating widget that keeps track of mutations
and the notify the same to the listening widgets.
VxStateSwitcher
VxStateSwitcherState
VxStepper
VxStepper widget to have a input enabled counter with 2 buttons, one for addition and one for subtraction with good level of customization.
VxStepperState
VxStore
App's store should extend this class. An instance of this class is
given to VxState while initialization only once.
VxSwiper
Use this widget VxSwiper to give your list a swipeable effect with full customization.
VxSwiperState
VxSwitcher
VxSwitcher can be used for Desktop and mobile platforms to change the state using AnimatedSwitcher in case of using mobile.
VxTable
A widget that uses the table layout algorithm for its children.
VxTextBuilder
Flutter widget that automatically resizes text to fit perfectly within its bounds.
VxTextDropDown
A material design button for selecting from a list of items.
VxTextField
An easy to use implementation of TextField with ready to use props.
VxTextFieldState
VxTicket
VxTimeline
To show a timeline view with filled dot, header and description. Great for showing something like a history
VxTimelineModel
VxTimelineState
VxTimerButton
Read button
VxTimerButtonState
VxToggleRotate
VxToggleRotate to rotate and animate any widget
VxTriangle
VxTwo
Can be used for two texts together vertically or horizontally.
VxTwoColumn
Can be used for two widgets together vertically.
VxTwoRow
Can be used for two widgets together horizontally.
VxUniversal
VxUniversal is an universal super widget which can be used
to do almost everything.
VxUnorderedList
VxUnorderedList is inspired from html where you can have a circular disk with an item (string)
Use VxUnorderedList to have a list of strings with circular disk of boxes with a defined color.
VxZeroCard
VxZeroCard can be used to provide a single loading card with PKSkeleton cool animation.
VxZeroCardState
VxZeroList
VxZeroList can be used to provide a list of loading cards with PKSkeleton cool animation.
VxZoom
VxZoom widget allows a widget to pinch and zoom on top of current context
by inserting a OverlayEntry .
VxZoomState
Width
WidthBox
SizedBox widget with specific width
Zone
A zone represents an environment that remains stable across asynchronous
calls.
ZoneDelegate
An adapted view of the parent zone.
ZoneSpecification
A parameter object with custom zone function handlers for Zone.fork .
ZStack
A widget that positions its children relative to the edges of its box.
Extensions
$FunctionP0Extension
on R Function()
$FunctionP1Extension
on R Function(P1 )
$FunctionP2Extension
on R Function(P1 , P2 )
$FunctionP3Extension
on R Function(P1 , P2 , P3 )
$FunctionP4Extension
on R Function(P1 , P2 , P3 , P4 )
$FunctionP5Extension
on R Function(P1 , P2 , P3 , P4 , P5 )
$FunctionP6Extension
on R Function(P1 , P2 , P3 , P4 , P5 , P6 )
$FunctionP7Extension
on R Function(P1 , P2 , P3 , P4 , P5 , P6 , P7 )
$FunctionP8Extension
on R Function(P1 , P2 , P3 , P4 , P5 , P6 , P7 , P8 )
$FunctionP9Extension
on R Function(P1 , P2 , P3 , P4 , P5 , P6 , P7 , P8 , P9 )
$KotlinCollection
on Iterable <E >
$KotlinIndexedValueExtension
on Iterable <IndexedValue <E > >
$KotlinStyleExtension
on T
AnimationControllerExtension
on AnimationController
AsyncExt
on Object
BuildContextEasyLocalizationExtension
on BuildContext
BuildContext extension method for access to locale , supportedLocales , fallbackLocale , delegates and deleteSaveLocale()
CenterExtension
on Widget
Center the widget
ContextExtension
on BuildContext
DoubleExt
on double
ExtensionListUnsafe
on List ?
ExtensionUint8List
on Uint8List
FilterExtension
on Widget
This extension will help to provide different filters to the widget.
FutureExtensions
on Future <T >
Convenience methods on futures.
FutureIterable
on Iterable <Future <T > >
FutureRecord2
on (Future <T1 > , Future <T2 > )
Parallel operations on a record of futures.
FutureRecord3
on (Future <T1 > , Future <T2 > , Future <T3 > )
Parallel operations on a record of futures.
FutureRecord4
on (Future <T1 > , Future <T2 > , Future <T3 > , Future <T4 > )
Parallel operations on a record of futures.
FutureRecord5
on (Future <T1 > , Future <T2 > , Future <T3 > , Future <T4 > , Future <T5 > )
Parallel operations on a record of futures.
FutureRecord6
on (Future <T1 > , Future <T2 > , Future <T3 > , Future <T4 > , Future <T5 > , Future <T6 > )
Parallel operations on a record of futures.
FutureRecord7
on (Future <T1 > , Future <T2 > , Future <T3 > , Future <T4 > , Future <T5 > , Future <T6 > , Future <T7 > )
Parallel operations on a record of futures.
FutureRecord8
on (Future <T1 > , Future <T2 > , Future <T3 > , Future <T4 > , Future <T5 > , Future <T6 > , Future <T7 > , Future <T8 > )
Parallel operations on a record of futures.
FutureRecord9
on (Future <T1 > , Future <T2 > , Future <T3 > , Future <T4 > , Future <T5 > , Future <T6 > , Future <T7 > , Future <T8 > , Future <T9 > )
Parallel operations on a record of futures.
IntExt
on int
IterableBasics2
on Iterable <T >
IterableOfDoubleSC
on Iterable <double >
IterableOfIntSC
on Iterable <int >
ListExtension
on List <T >
LocaleToStringHelper
on Locale
Easy Localization locale helper
MapExtension
on Map <K , dynamic >
NavAniExt
on NavAni
NumIterableBasics
on Iterable <E >
Utility extension methods for Iterable s containing num s.
ScrollExtension
on Widget
Extension method to directly access SingleChildScrollView with any widget without wrapping or with dot operator.
SnackbarContextExtension
on BuildContext
StringToLocaleHelper
on String
Easy Localization string locale helper
StringTranslateExtension
on String
Strings extension method for access to tr() and plural()
Example :
StringWidgetsExtension
on String
TextTranslateExtension
on Text
Text widget extension method for access to tr() and plural()
Example :
VelocityXRichTextExtension
on RichText
VelocityXTextSpanExtension
on TextSpan
VxAnimatedContainerWidgetExtension
on Widget
VxBadgeExtension
on Widget
VxBoolExtension
on bool
VxBreakpointUtils
on BoxConstraints
VxCardExtension
on Widget
VxCenterBuilderExtension
on VxWidgetBuilder<Widget >
VxColorExtension
on Color
VxContainerWidgetExtension
on Widget
VxContextExtensions
on BuildContext
Extensions for general basic Context
VxDateTimeExtension
on DateTime
Date Time Extension Methods
VxDropDownExtension
on List <String >
VxDurationExtension
on Duration
VxDurationString
on String
VxExtensionList
on List <T >
VxExtensionMap
on Map <K , V >
VxFunctionExtension
on Function
VxFutureFunctionExtension
on Future Function()
VxGestureExtensions
on Widget
VxGlassWidgetExtension
on Widget
VxGlobalKeyExtension
on GlobalKey <State <StatefulWidget > >
VxHumanizedDuration
on Duration
VxIcon
on Icon
Extension method to directly access Icon .
VxIntExtension
on int
Extension method for integers.
VxIterableBasics
on Iterable <E >
Utility extension methods for the native Iterable class.
VxListStringExtension
on List <String >
VxListWidgetExtension
on List <Widget >
Extension Methods for List of widgets.
VxMarqueeExtension
on String
VxNullableStringIsEmptyOrNullExtension
on String ?
VxNullableStringIsNotEmptyAndNotNullExtension
on String ?
VxNumExtension
on num
Extension Methods & Widgets for the numbers
VxObjectExtensions
on Widget
Extension Methods for Alignment of the objects.
VxOpacityExtension
on Widget
Extension method for providing opacity on the top of widgets
VxPaddingExtensions
on Widget
Extension to provide Padding to any widget.
VxRandomContainerWidgetExtension
on Widget
Random Color box extension method
VxRoutesWidgetsExtension
on Widget
VxScrollControllerExtension
on ScrollController
Extensions for ScrollController
VxSelectableTextBuilderExtension
on VxSelectableTextBuilder
VxSelectableTextExtensions
on SelectableText
VxShapesExtension
on Widget
VxShiftWidgetExt
on Widget
VxShimmerExtension
on Widget
VxSizedBoxExtension
on Widget
A box with a specified size.
VxSkeletonExtension
on Widget
VxStringExtension
on String
Extension Methods & Widgets for the strings
VxTableExtensions
on List <TableRow >
VxTextBuilderExtension
on VxTextBuilder
VxTextExtensions
on Text
VxThemeExtension
on Widget
Extension method to directly access material Theme with any widget without wrapping or with dot operator.
VxToastExtension
on BuildContext
VxToggleExtension
on Widget
VxTransformExtension
on Widget
Extension method to directly transform any widget without wrapping or with dot operator.
VxWeb3Extension
on String
VxWidgetsExtension
on Widget
VxZoomExtensions
on Widget
Constants
basePath
→ const String
defaultFontStyle
→ const TextStyle Function({Paint ? background , Color ? backgroundColor , Color ? color , TextDecoration ? decoration , Color ? decorationColor , TextDecorationStyle ? decorationStyle , double ? decorationThickness , List <FontFeature > ? fontFeatures , double ? fontSize , FontStyle ? fontStyle , FontWeight ? fontWeight , Paint ? foreground , double ? height , double ? letterSpacing , Locale ? locale , List <Shadow > ? shadows , TextBaseline ? textBaseline , TextStyle ? textStyle , double ? wordSpacing })
vg
→ const VectorGraphicUtilities
The VectorGraphicUtilities instance.
Functions
asyncGuard <T > (Future <T > callback (), [T? defaultValue ])
→ Future <T? >
Evaluates the function asynchonically wrapping the body with try/catch and returns
default value if error was raised or return value is null
Originally available at https://pub.flutter-io.cn/packages/guard
center (String ? input , int width , String fill )
→ String
Returns a String of length width padded with the same number of
characters on the left and right from fill. On the right, characters are
selected from fill starting at the end so that the last character in
fill is the last character in the result. fill is repeated if
necessary to pad.
compareIgnoreCase (String a , String b )
→ int
Compares a and b after converting to lower case.
delayTimer (Function func , [Duration duration = const Duration(milliseconds: 50) ])
→ Timer
equalsIgnoreCase (String ? a , String ? b )
→ bool
Returns true if a and b are equal after being converted to lower
case, or are both null.
getView (dynamic child , Color ? textColor )
→ Widget
guard <T > (T callback (), [T? defaultValue ])
→ T?
Evaluates the function wrapping the body with try/catch and returns
default value if error was raised or return value is null
Originally available at https://pub.flutter-io.cn/packages/guard
isBlank (String ? s )
→ bool
Returns true if s is either null, empty or is solely made of whitespace
characters (as defined by String.trim ).
isDigit (int rune )
→ bool
Returns true if rune represents a digit.
isEmpty (String ? s )
→ bool
Returns true if s is either null or empty.
isNotBlank (String ? s )
→ bool
Returns true if s is neither null, empty nor is solely made of whitespace
characters.
isNotEmpty (String ? s )
→ bool
Returns true if s is a not empty string.
isWhitespace (int rune )
→ bool
Returns true if rune represents a whitespace character.
localeFromString (String localeString )
→ Locale
Convert string locale localeString to Locale
localeToString (Locale locale , {String separator = '_' })
→ String
Convert locale to Srting with custom separator
loop (String s , int from , [int ? to ])
→ String
Loops over s and returns traversed characters. Takes arbitrary from and
to indices. Works as a substitute for String.substring , except it never
throws RangeError . Supports negative indices. Think of an index as a
coordinate in an infinite in both directions vector filled with repeating
string s, whose 0-th coordinate coincides with the 0-th character in s.
Then loop returns the sub-vector defined by the interval (from, to).
from is inclusive. to is exclusive.
myBoxDec (dynamic animation , {dynamic isCircle = false , dynamic isDark = false })
→ Decoration
myBoxDesc to reuse with PKSkeleton
plural (String key , num value , {List <String > ? args , BuildContext ? context , Map <String , String > ? namedArgs , String ? name , NumberFormat ? format })
→ String
function translate with pluralization
key Localization key
value Number value for pluralization
BuildContext The location in the tree where this widget builds
args List of localized strings. Replaces {} left to right
namedArgs Map of localized strings. Replaces the name keys {key_name} according to its name
name Name of number value. Replaces {$name} to value
format Formats a numeric value using a NumberFormat class
runOnUI (void uiFunction () )
→ void
runZoned <R > (R body (), {Map <Object ? , Object ? > ? zoneValues , ZoneSpecification ? zoneSpecification , Function ? onError })
→ R
Runs body in its own zone.
runZonedGuarded <R > (R body (), void onError (Object error , StackTrace stack ), {Map <Object ? , Object ? > ? zoneValues , ZoneSpecification ? zoneSpecification })
→ R?
Runs body in its own error zone.
scheduleMicrotask (void callback () )
→ void
Runs a function asynchronously.
sleepAsync (Duration duration )
→ Future
sleepUntil (bool predict (), [Duration duration = const Duration(milliseconds: 50) ])
→ Future
sleepWhile (bool predict (), [Duration duration = const Duration(milliseconds: 50) ])
→ Future
toBeginningOfSentenceCase <T extends String ? > (T input , [String ? locale ])
→ T
Convert a string to beginning of sentence case, in a way appropriate to the
locale.
tr (String key , {BuildContext ? context , List <String > ? args , Map <String , String > ? namedArgs , String ? gender })
→ String
Main function for translate your language keys
key Localization key
BuildContext The location in the tree where this widget builds
args List of localized strings. Replaces {} left to right
namedArgs Map of localized strings. Replaces the name keys {key_name} according to its name
gender Gender switcher. Changes the localized string based on gender string
trExists (String key , {BuildContext ? context })
→ bool
unawaited (Future <void > ? future )
→ void
Explicitly ignores a future.
voidFunction ()
→ void
withAnimation <T > ({required TickerProvider vsync , required Tween <T > tween , required AnimationUpdateCallBack <T? > callBack , Duration duration = const Duration(seconds: 1) , double initialValue = 0.0 , Curve curve = Curves.linear , Animation ? customAnimation })
→ AnimationController
To perform forward animation in a simpler way
withRepeatAnimation <T > ({required TickerProvider vsync , required Tween <T > tween , required AnimationUpdateCallBack <T? > callBack , Duration duration = const Duration(seconds: 1) , double initialValue = 0.0 , Curve curve = Curves.linear , double ? lowerBound , double ? upperBound , bool isRepeatReversed = false , Duration ? repeatPeriod , Animation ? customAnimation })
→ AnimationController
To perform repeat animation in a simpler way
Typedefs
AnimationUpdateCallBack <T >
= dynamic Function(T animationVal , double controllerVal )
ColorProvider
= Color Function()
ContextCallback
= void Function(BuildContext context , VxMutation <VxStore ? > mutation , {VxStatus ? status })
Function signature for the callback with context.
ControllerCallback
= void Function()
Type of a stream controller's onListen, onPause and onResume
callbacks.
ControllerCancelCallback
= FutureOr <void > Function()
Type of stream controller onCancel callbacks.
CreatePeriodicTimerHandler
= Timer Function(Zone self , ZoneDelegate parent , Zone zone , Duration period , void f (Timer timer ) )
The type of a custom Zone.createPeriodicTimer implementation function.
CreateTimerHandler
= Timer Function(Zone self , ZoneDelegate parent , Zone zone , Duration duration , void f () )
The type of a custom Zone.createTimer implementation function.
ErrorCallbackHandler
= AsyncError ? Function(Zone self , ZoneDelegate parent , Zone zone , Object error , StackTrace ? stackTrace )
The type of a custom Zone.errorCallback implementation function.
FnBuilderCallback
= void Function()
ForkHandler
= Zone Function(Zone self , ZoneDelegate parent , Zone zone , ZoneSpecification ? specification , Map <Object ? , Object ? > ? zoneValues )
The type of a custom Zone.fork implementation function.
HandleUncaughtErrorHandler
= void Function(Zone self , ZoneDelegate parent , Zone zone , Object error , StackTrace stackTrace )
The type of a custom Zone.handleUncaughtError implementation function.
OnRetry
= void Function()
OnStateChanged
= Widget Function(VxPageState state )
PrintHandler
= void Function(Zone self , ZoneDelegate parent , Zone zone , String line )
The type of a custom Zone.print implementation function.
RegisterBinaryCallbackHandler
= ZoneBinaryCallback <R , T1 , T2 > Function<R , T1 , T2 >(Zone self , ZoneDelegate parent , Zone zone , R f (T1 arg1 , T2 arg2 ) )
The type of a custom Zone.registerBinaryCallback implementation function.
RegisterCallbackHandler
= ZoneCallback <R > Function<R >(Zone self , ZoneDelegate parent , Zone zone , R f () )
The type of a custom Zone.registerCallback implementation function.
RegisterUnaryCallbackHandler
= ZoneUnaryCallback <R , T > Function<R , T >(Zone self , ZoneDelegate parent , Zone zone , R f (T arg ) )
The type of a custom Zone.registerUnaryCallback implementation function.
RunBinaryHandler
= R Function<R , T1 , T2 >(Zone self , ZoneDelegate parent , Zone zone , R f (T1 arg1 , T2 arg2 ), T1 arg1 , T2 arg2 )
The type of a custom Zone.runBinary implementation function.
RunHandler
= R Function<R >(Zone self , ZoneDelegate parent , Zone zone , R f () )
The type of a custom Zone.run implementation function.
RunUnaryHandler
= R Function<R , T >(Zone self , ZoneDelegate parent , Zone zone , R f (T arg ), T arg )
The type of a custom Zone.runUnary implementation function.
ScheduleMicrotaskHandler
= void Function(Zone self , ZoneDelegate parent , Zone zone , void f () )
The type of a custom Zone.scheduleMicrotask implementation function.
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.
VxAdaptiveChildBuilder
= Widget Function(BuildContext context , bool scaled )
A typedef representing a callback function used to build the UI based on the current screen adaptation settings.
VxAppBuilder
= Widget Function(BuildContext context , VxAppData vxData )
VxInternalStore is the internal store for the app.
VxFlipCallback
= void Function(VxFlipState vxFlip )
VxFlipOnFlipCallback
= void Function(bool isFront )
VxMutationBuilder
= VxMutation <VxStore ? > Function()
Function signature for mutations that has deferred execution.
VxMutation.next accepts functions with this signature.
VxStateWidgetBuilder <T >
= Widget Function(BuildContext context , T store , VxStatus ? status )
VxWidgetBuilder gives context and status back.
Status are more useful when you use vx effects
VxToggleBuilder
= Widget Function(Widget child )
ZoneBinaryCallback <R , T1 , T2 >
= R Function(T1 , T2 )
ZoneCallback <R >
= R Function()
ZoneUnaryCallback <R , T >
= R Function(T )