s_packages_extra2 library

Classes

AbortPaymentEvent
AbsoluteOrientationSensor
AbstractWorker
Accelerometer
AccessibleNode
AccessibleNodeList
AmbientLightSensor
AnchorElement
Animate
Object exposed by the builder method of the OnAnimationBuilder. It is used to set tweens explicitly or implicitly.
Animation
AnimationEffectReadOnly
AnimationEffectTiming
AnimationEffectTimingReadOnly
AnimationEvent
AnimationPlaybackEvent
AnimationTimeline
AnimationWorkletGlobalScope
ApplicationCache
ApplicationCache is accessed via Window.applicationCache.
ApplicationCacheErrorEvent
AreaElement
DOM Area Element, which links regions of an image map with a hyperlink.
AsyncData<T>
State for an AsyncState with a value
AsyncDataRefreshing<T>
A loading state with a value. Signals the query conditions that led to the data has remained the same and is being refreshed
AsyncDataReloading<T>
A loading state with a value. Signals the query conditions that led to the data has changed and is being reloaded.
AsyncError<T>
State for an AsyncState with an error
AsyncErrorRefreshing<T>
A loading state with an error. Signal the query conditions that led to the error has remained the same and is being refreshed.
AsyncErrorReloading<T>
A loading state with an error. Signal the query conditions that led to the error has changed and is being reloaded.
AsyncLoading<T>
State for an AsyncState with a loading state
AsyncSignal<T>
The signal function creates a new signal. A signal is a container for a value that can change over time. You can read a signal's value or subscribe to value updates by accessing its .value property.
AsyncState<T>
AsyncState is class commonly used with Future/Stream signals to represent the states the signal can be in.
AudioElement
AuthenticatorAssertionResponse
AuthenticatorAttestationResponse
AuthenticatorResponse
BackgroundFetchClickEvent
BackgroundFetchedEvent
BackgroundFetchEvent
BackgroundFetchFailEvent
BackgroundFetchFetch
BackgroundFetchManager
BackgroundFetchRegistration
BackgroundFetchSettledFetch
BarcodeDetector
BarProp
BaseElement
BaseStandardToastStyle
Base abstract class for built-in styles
BatteryManager
BeforeInstallPromptEvent
BeforeUnloadEvent
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.
Blob
BlobEvent
BluetoothRemoteGattDescriptor
Body
BodyElement
BoolOptions
Options that control boolean parsing.
BottomSlideNotification
a notification show in front of screen and shown at the bottom
BRElement
BroadcastChannel
BudgetState
BuiltInToastBuilder
ButtonElement
ButtonInputElement
A button, with no default behavior.
CacheStorage
CalendarDatePicker2
CalendarDatePicker2Config
Custom configuration for CalendarDatePicker2
CalendarDatePicker2WithActionButtons
Display CalendarDatePicker with action buttons
CalendarDatePicker2WithActionButtonsConfig
Custom configuration for CalendarDatePicker2 with action buttons
CanMakePaymentEvent
CanvasCaptureMediaStreamTrack
CanvasElement
CanvasGradient
An opaque canvas object representing a gradient.
CanvasImageSource
An object that can be drawn to a 2D canvas rendering context.
CanvasPattern
An opaque object representing a pattern of image, canvas, or video.
CanvasRenderingContext
CanvasRenderingContext2D
CDataSection
ChangeStackSignal<T>
Change stack signal that can be used to call undo/redo on a value.
CharacterData
CheckboxInputElement
A boolean editor control.
Child
Use Child in combination of other widget listeners, to control the part of the widget tree to rebuild. See also Child2 and Child3
Child2
Child3
ChildNode
Client
Clients
ClipboardEvent
CloseEvent
ColorUtils
Utility class for color manipulation and conversion operations.
Comment
CompositionEvent
Computed<T>
Data is often derived from other pieces of existing data. The computed function lets you combine the values of multiple signals into a new signal that can be reacted to, or even used by additional computeds. When the signals accessed from within a computed callback change, the computed callback is re-executed and its new return value becomes the computed signal's value.
Connect<T, S extends T>
The idea for connect comes from Anguar Signals with RxJS:
Console
ContentElement
ConversionResult<T>
A monadic wrapper representing the outcome of a type conversion operation.
Convert
Backward-compatible static facade that mirrors the original ConvertObject API.
ConvertConfig
Global and scoped configuration bundle for all convert_object APIs.
Converter
Fluent wrapper for chained type conversions with navigation and fallbacks.
CookieStore
Coordinates
Credential
CredentialsContainer
CredentialUserData
Crypto
CryptoKey
Css
CssCharsetRule
CssClassSet
A Set that stores the CSS class names for an element.
CssConditionRule
CssFontFaceRule
CssGroupingRule
CssImageValue
CssImportRule
CssKeyframeRule
CssKeyframesRule
CssKeywordValue
CssMatrixComponent
CssMediaRule
CssNamespaceRule
CssNumericValue
CssPageRule
CssPerspective
CssPositionValue
CssRect
A class for representing CSS dimensions.
CssResourceValue
CssRotation
CssRule
CssScale
CssSkew
CssStyleDeclaration
CssStyleDeclarationBase
CssStyleRule
CssStyleSheet
CssStyleValue
CssSupportsRule
CssTransformComponent
CssTransformValue
CssTranslation
CssUnitValue
CssUnparsedValue
CssurlImageValue
CssVariableReferenceValue
CssViewportRule
CustomElementRegistry
CustomEvent
CustomStream<T extends Event>
A stream of custom events, which enables the user to "fire" (add) their own custom events to a stream.
DataElement
DataListElement
DataTransfer
DataTransferItem
DataTransferItemList
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive manner.
DateInputElement
A date (year, month, day) with no time zone.
DateOptions
Options that control date/time parsing.
DebouncedCallback
Callable wrapper that exposes debouncing controls.
Debouncer
A versatile debouncer that helps consolidate rapid events by scheduling actions to run after a delay. It features immediate execution, max-wait thresholds, pause/resume support, and reset functionality.
DebouncerState
An immutable snapshot of a debouncer's state.
DedicatedWorkerGlobalScope
DefaultStandardToastWidget
DefaultStyleValues
DefaultToastificationTransition
This class is responsible for creating the default animation for the toastification
DependsOn<T>
Setting the Injected models dependencies.
DeprecatedStorageInfo
DeprecatedStorageQuota
DeprecationReport
DetailsElement
DetectedBarcode
DetectedFace
DetectedText
DeviceAcceleration
DeviceMotionEvent
DeviceOrientationEvent
DeviceRotationRate
DevToolsSignalsObserver
Signals DevTools observer
DialogElement
Dimension
Class representing a length measurement in CSS.
DirectoryEntry
DirectoryReader
DivElement
A generic container for content on an HTML page; corresponds to the <div> tag.
DListElement
Document
The base class for all documents.
DocumentFragment
DocumentOrShadowRoot
DocumentTimeline
DomError
DomException
DomImplementation
DomIterator
DomMatrix
DomMatrixReadOnly
DomParser
DomPoint
DomPointReadOnly
DomQuad
DomRectList
DomRectReadOnly
DomStringList
DomStringMap
DomTokenList
Effect
The effect function is the last piece that makes everything reactive. When you access a signal inside its callback function, that signal and every dependency of said signal will be activated and subscribed to. In that regard it is very similar to computed(fn). By default all updates are lazy, so nothing will update until you access a signal inside effect.
Element
An abstract class, which all HTML elements extend.
ElementEvents
ElementList<T extends Element>
An immutable list containing HTML elements. This list contains some additional methods when compared to regular lists for ease of CSS manipulation on a group of elements.
ElementStream<T extends Event>
A specialized Stream available to Elements to enable event delegation.
ElementUpgrader
A utility for changing the Dart wrapper type for elements.
ElementWatcher
Helper class to track signals and effects with the lifecycle of an element.
EmailInputElement
An e-mail address or list of e-mail addresses.
EmbedElement
Entry
EnumParsers
Factory methods for building resilient enum parsing callbacks.
ErrorEvent
Event
Events
Base class that supports listening for and dispatching browser events.
EventSource
EventSourceOutsideBrowser
Implemented by EventSource outside browser.
EventStreamProvider<T extends Event>
A factory to expose DOM events as Streams.
EventTarget
Base class for all browser objects that support events.
ExtendableEvent
ExtendableMessageEvent
External
FaceDetector
FederatedCredential
FetchEvent
FieldSetElement
File
FileEntry
FileList
FileReader
FileSystem
FileUploadInputElement
A control for picking files from the user's computer.
FileWriter
FilledStandardToastStyle
FixedSizeListIterator<T>
FlatStandardColoredToastStyle
FlatStandardToastStyle
FlutterComputed<T>
A signal based on the value of a computation
FlutterReadonlySignal<T>
Simple writeable single
FlutterSignal<T>
Simple writeable single
FocusEvent
FontFace
FontFaceSet
FontFaceSetLoadEvent
FontFaceSource
ForeignFetchEvent
FormData
FormElement
FutureSignal<T>
Future signals can be created by extension or method.
Gamepad
GamepadButton
GamepadEvent
GamepadPose
Geolocation
Geoposition
GlobalEventHandlers
Gyroscope
HashChangeEvent
HeadElement
Headers
HeadingElement
HiddenInputElement
Hidden input which is not intended to be seen or edited by the user.
History
HistoryBase
HRElement
An <hr> tag.
HtmlCollection
HtmlDocument
HtmlElement
HtmlFormControlsCollection
HtmlHtmlElement
HtmlHyperlinkElementUtils
HtmlOptionsCollection
HttpAuthRequest
Defines the parameters of a pending HTTP authentication request received by the webview through a HttpAuthRequestCallback.
HttpRequest
A client-side XHR request for getting data from a URL, formally known as XMLHttpRequest.
HttpRequestEventTarget
HttpRequestUpload
HttpResponseError
Error returned in PlatformNavigationDelegate.setOnHttpError when an HTTP response error has been received.
HttpStatus
HTTP status codes. Exported in dart:io and dart:html.
IAuth<T, P>
Interface to implement for authentication and authorization
ICRUD<T, P>
Interface to implement to query a rest API or database for Create, Read, Update, and Delete of Items-Item.
IdleDeadline
IFrameElement
ImageBitmap
ImageBitmapRenderingContext
ImageButtonInputElement
Either an image which the user can select a coordinate to or a form submit button.
ImageCapture
ImageData
ImageElement
ImmutableListMixin<E>
IN
Inject<T>
Base class for Inject
Injectable
Injected<T>
A Wrapper class that encloses the state of the model we want to Inject. The state can be mutable or immutable and can also be global or local.
InjectedAnimation
Inject an animation. It works for both implicit and explicit animation.
InjectedAuth<T, P>
Injection of a state that can authenticate and authorize a user.
InjectedCRUD<T, P>
Injection of a state that can create, read, update and delete from a backend or database service.
InjectedForm
Inject a form that controls all TextField and OnFormFieldBuilder instantiated inside its builder method.
InjectedFormField<T>
Inject form inputs other than for text editing
InjectedI18N<I18N>
Used to manage app localization and internationalization
InjectedNavigator
Injecting a Navigator 2 that holds a RouteData state.
InjectedScrolling
This injected state abstracts the best practices to come out with a simple, clean, and testable approach to control Scrollable view.
InjectedTabPageView
Inject a TabController and PageController and sync them to work together to get the most benefit of them.
InjectedTextEditing
Inject a TextEditingController
InjectedTheme<KEY>
Injection of a state that handle app theme switching.
Injector
A widget used to provide a business logic model to the widget tree, and make one instance of the model available to all its children.
InputDeviceCapabilities
InputElement
InputElementBase
Exposes the functionality common between all InputElement types.
InstallEvent
IntersectionObserver
IntersectionObserverEntry
InterventionReport
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.
IPersistStore
PersistStore Interface to implementation.
IterableSignal<E>
A Signal that holds a Iterable.
JavaScriptAlertDialogRequest
Defines the parameters that support PlatformWebViewController.setOnJavaScriptAlertDialog.
JavaScriptConfirmDialogRequest
Defines the parameters that support PlatformWebViewController.setOnJavaScriptConfirmDialog.
JavaScriptConsoleMessage
Represents a console message written to the JavaScript console.
JavaScriptMessage
A message that was sent by JavaScript code running in a WebView.
JavaScriptTextInputDialogRequest
Defines the parameters that support PlatformWebViewController.setOnJavaScriptTextInputDialog.
JsonOptions
Configuration for JSON normalization via jsonSafe and related helpers.
KeyboardEvent
An event that describes user interaction with the keyboard.
KeyboardEventStream
Records KeyboardEvents that occur on a particular element, and provides a stream of outgoing KeyEvents with cross-browser consistent keyCode and charCode values despite the fact that a multitude of browsers that have varying keyboard default behavior.
KeyCode
Defines the keycode values for keys that are returned by KeyboardEvent.keyCode.
KeyEvent
A custom KeyboardEvent that attempts to eliminate cross-browser inconsistencies, and also provide both keyCode and charCode information for all key events (when such information can be determined).
KeyframeEffect
KeyframeEffectReadOnly
KeyLocation
Defines the standard key locations returned by KeyboardEvent.getKeyLocation.
LabelElement
LegendElement
LIElement
LinearAccelerationSensor
LinkElement
ListSignal<E>
A Signal that holds a List.
LocalDateTimeInputElement
A date and time (year, month, day, hour, minute, second, fraction of a second) with no time zone.
Location
LocationBase
LoggingSignalsObserver
Logs all signals and computed changes to the console.
Magnetometer
MapElement
MapSignal<K, V>
A Signal that holds a Map.
MaterialPageArgument
MathMLElement
MediaCapabilities
MediaCapabilitiesInfo
MediaDeviceInfo
MediaDevices
MediaElement
MediaEncryptedEvent
MediaError
MediaKeyMessageEvent
MediaKeys
MediaKeySession
MediaKeysPolicy
MediaKeyStatusMap
MediaKeySystemAccess
MediaList
MediaMetadata
MediaQueryList
MediaQueryListEvent
MediaRecorder
MediaSession
MediaSettingsRange
MediaSource
MediaStream
MediaStreamEvent
MediaStreamTrack
MediaStreamTrackEvent
MemoryInfo
An HTML
MessageChannel
MessageEvent
MessagePort
Metadata
MetaElement
MeterElement
MidiAccess
MidiConnectionEvent
MidiInput
MidiInputMap
MidiMessageEvent
MidiOutput
MidiOutputMap
MidiPort
MimeType
MimeTypeArray
MinimalStandardToastStyle
MinimalStandardToastWidget
ModalKey<T>
showOverlay with block other show with the same ModalKey.
ModElement
MonthInputElement
A date consisting of a year and a month with no time zone.
MouseEvent
MutationEvent
MutationObserver
MutationRecord
Callbacks for accepting or rejecting navigation changes, and for tracking the progress of navigation requests.
Defines the parameters of the pending navigation callback.
NetworkInformation
Node
NodeFilter
NodeIterator
NodeList
NodeTreeSanitizer
Performs sanitization of a node tree after construction to ensure that it does not contain any disallowed elements or attributes.
NodeValidator
Interface used to validate that only accepted elements and attributes are allowed while parsing HTML strings into DOM nodes.
NodeValidatorBuilder
Class which helps construct standard node validation policies.
NoncedElement
NonDocumentTypeChildNode
NonElementParentNode
Notification
NotificationEvent
NumberFormat
Provides the ability to format a number in a locale-specific way.
NumberInputElement
A numeric editor control.
NumberOptions
Options that control numeric parsing.
NumbersHelper
A utility class for numerical helper methods.
ObjectElement
OffscreenCanvas
OffscreenCanvasRenderingContext2D
OListElement
OnAnimationBuilder
Widget used to listen to an InjectedAnimation and call its builder each time the animation ticks.
OnAuthBuilder<T, P>
Listen to an InjectedAuth and define the appropriate view for each case
OnBuilder<T>
Explicitly listenTo one or more injected state and reinvoke its onBuilder callback each time an injected state emits a notification.
OnCRUDBuilder
To listen to an InjectedCRUD state just use ReactiveStatelessWidget, OnReactive, or OnBuilder widgets.
OnCRUDSideEffects
Class for CRUD side effects
OnFormBuilder
Build a form from its child fields
OnFormFieldBuilder<T>
Listen to an InjectedFormField and define its corresponding input fields
OnFormSubmissionBuilder
Listen to a InjectedForm and rebuild depending on Form submission state
OnNavigateBackScope
Creates a widget that registers a callback to veto attempts by the user to navigate back.
OnReactive
First choice widget to listen to an injected state.
OnScroll<T>
Listen to an InjectedScrolling
OnScrollBuilder
Listen to an InjectedScrolling state.
OnTabPageViewBuilder
Listen to InjectedTabPageView.
OptGroupElement
OptionElement
OrientationSensor
OutputElement
OverconstrainedError
OverlaySupport
OverlaySupportEntry
OverlaySupportTheme
PageSettings
Data that might be useful in constructing a Page. It extends RouteSettings
PageTransitionEvent
PaintRenderingContext2D
PaintSize
PaintWorkletGlobalScope
ParagraphElement
ParamElement
ParentNode
PasswordCredential
PasswordInputElement
Text with no line breaks (sensitive information).
Path2D
PausableStream<T>
PaymentAddress
PaymentInstruments
PaymentManager
PaymentRequest
PaymentRequestEvent
PaymentRequestUpdateEvent
PaymentResponse
Performance
PerformanceEntry
PerformanceLongTaskTiming
PerformanceMark
PerformanceMeasure
PerformanceNavigation
PerformanceNavigationTiming
PerformanceObserver
PerformanceObserverEntryList
PerformancePaintTiming
PerformanceResourceTiming
PerformanceServerTiming
PerformanceTiming
Permissions
PermissionStatus
PersistedBoolSignal
A PersistedSignal that stores a boolean value.
PersistedDoubleSignal
A PersistedSignal that stores an double value.
PersistedEnumSignal<T extends Enum>
A PersistedSignal that stores an enum value.
PersistedIntSignal
A PersistedSignal that stores an integer value.
PersistedNullableDoubleSignal
A PersistedSignal that stores a nullable double value.
PersistedNullableIntSignal
A PersistedSignal that stores a nullable integer value.
PersistedNullableNumSignal
A PersistedSignal that stores a nullable numeric value.
PersistedNullableStringSignal
A PersistedSignal that stores a nullable string value.
PersistedNumSignal
A PersistedSignal that stores a numeric value.
PersistedPersistedBoolSignal
A PersistedSignal that stores a nullable string value.
PersistedPersistedEnumSignal<T extends Enum>
A PersistedSignal that stores a nullable enum value.
PersistedSignal<T>
A signal that persists its value in a key-value store.
PersistedStringSignal
A PersistedSignal that stores a string value.
PersistState<T>
State persistence setting.
PhotoCapabilities
PictureElement
Platform
PlatformNavigationDelegateCreationParams
Object specifying creation parameters for creating a PlatformNavigationDelegate.
PlatformWebViewControllerCreationParams
Object specifying creation parameters for creating a PlatformWebViewController.
PlatformWebViewCookieManagerCreationParams
Object specifying creation parameters for creating a PlatformWebViewCookieManager.
PlatformWebViewPermissionRequest
Permissions request when web content requests access to protected resources.
PlatformWebViewWidgetCreationParams
Object specifying creation parameters for creating a WebViewWidgetDelegate.
Plugin
PluginArray
Point<T extends num>
A utility class for representing two-dimensional positions.
PointerEvent
PopStateEvent
PositionError
PreElement
Presentation
PresentationAvailability
PresentationConnection
PresentationConnectionAvailableEvent
PresentationConnectionCloseEvent
PresentationConnectionList
PresentationReceiver
PresentationRequest
ProcessingInstruction
ProgressElement
ProgressEvent
PromiseRejectionEvent
PublicKeyCredential
PushEvent
PushManager
PushMessageData
PushSubscription
PushSubscriptionOptions
QueueSignal<T>
A Signal that holds a Queue.
QuoteElement
RadioButtonInputElement
A control that when used with other RadioButtonInputElement controls forms a radio button group in which only one control can be checked at a time.
Range
RangeInputElement
Similar to NumberInputElement but the browser may provide more optimal styling (such as a slider control).
RangeInputElementBase
Base interface for all input element types which involve ranges.
ReactiveModel<T>
A lightweight version of Injected
ReactiveStatelessWidget
Use it instead of StatelessWidget to make the hole sub tree reactive.
ReadonlySignal<T>
Read only signals can just retrieve a value but not update or cause mutations
ReadyState
Contains the set of standard values returned by HTMLDocument.getReadyState.
Rectangle<T extends num>
A class for representing two-dimensional rectangles whose properties are immutable.
RelatedApplication
RelativeOrientationSensor
RemotePlayback
ReportBody
ReportingObserver
ResetButtonInputElement
A button, which when clicked, resets the form.
ResizeObserver
ResizeObserverEntry
RM
RouteData
Object that holds information about the active route.
RouteWidget
Widget use to define sub routes or just for better organization or add custom transition to a particular route.
RtcCertificate
RtcDataChannel
RtcDataChannelEvent
RtcDtmfSender
RtcDtmfToneChangeEvent
RtcIceCandidate
RtcLegacyStatsReport
RtcPeerConnection
RtcPeerConnectionIceEvent
RtcRtpContributingSource
RtcRtpReceiver
RtcRtpSender
RtcSessionDescription
RtcStatsReport
RtcStatsResponse
RtcTrackEvent
Screen
ScreenOrientation
ScriptElement
ScrollAlignment
Options for Element.scrollIntoView.
ScrollPositionChange
Defines the parameters of the scroll position change callback.
ScrollState
ScrollTimeline
SearchInputElement
Similar to TextInputElement, but on platforms where search is styled differently this will get the search style.
SecurityPolicyViolationEvent
SelectElement
Selection
Sensor
SensorErrorEvent
ServiceWorker
ServiceWorkerContainer
ServiceWorkerGlobalScope
ServiceWorkerRegistration
SetSignal<E>
A Signal that holds a Set.
ShadowElement
ShadowRoot
SharedWorker
SharedWorkerGlobalScope
SideEffects<T>
Side effect to be called when the state is initialized, mutated and disposed of
Signal<T>
Simple writeable signal
SignalContainer<T, Arg, S extends ReadonlySignalMixin<T>>
Signal container used to create signals based on args
SignalProvider<T extends FlutterReadonlySignal>
Signal notifier widget
SignalsInMemoryKeyValueStore
An in-memory implementation of SignalsKeyValueStore.
SignalsKeyValueStore
An abstract class that defines the contract for a key-value store to be used with PersistedSignal.
SignalsObserver
You can observe all signal values in the dart application by providing an implementation of SignalsObserver:
SimpleStandardToastStyle
SimpleStandardToastWidget
SlideDismissible
Can be dismiss by left or right slide.
SlotElement
SnapError
The error representation
SnapState<T>
Snap representation of the state
SourceBuffer
SourceBufferList
SourceElement
SpanElement
SpeechGrammar
SpeechGrammarList
SpeechRecognition
SpeechRecognitionAlternative
SpeechRecognitionError
SpeechRecognitionEvent
SpeechRecognitionResult
SpeechSynthesis
SpeechSynthesisEvent
SpeechSynthesisUtterance
SpeechSynthesisVoice
SslAuthError
Represents an SSL error with the associated certificate.
StandardStyleValues
StandardToastStyleFactory
StandardToastWidget
StandardToastWidgetFactory
StateBuilder<T>
One of the three observer widgets in states_rebuilder
StateWithMixinBuilder<T, R>
StateBuilder that can be mixin with one of the predefined mixin in mixinWith
StaticRange
Storage
The type used by the Window.localStorage and Window.sessionStorage properties. Storage is implemented as a Map<String, String>.
StorageEvent
StorageManager
StreamSignal<T>
Stream signals can be created by extension or method.
Strings
A set of String utility functions that aim to extend the set of functions available the core String class as well as provding safe methods when working with nullable Strings. A Strings method will never thrown an NPE and aims to provide the expected result by treating the null as an empty String or a space filled String where a range access is applied.
StyleElement
StyleMedia
StylePropertyMap
StylePropertyMapReadonly
StyleSheet
SubmitButtonInputElement
A button, which when clicked, submits the form.
SyncEvent
SyncManager
SystemLocale
Used to represent the locale of the system.
TableCaptionElement
TableCellElement
TableColElement
TableElement
TableRowElement
TableSectionElement
TaskAttributionTiming
TelephoneInputElement
Represents a control for editing a telephone number.
TemplateElement
Text
TextAreaElement
TextDetector
TextEvent
TextInputElement
A basic text input editor control.
TextInputElementBase
Base interface for all inputs which involve text editing.
TextMetrics
TextTrack
TextTrackCue
TextTrackCueList
TextTrackList
ThrottledCallback
Callable wrapper that exposes throttling controls.
Throttler
A lightweight throttler for rate-limiting actions over time.
TickerSignal
Ticker signal used to drive animations and can create animation controllers
TimeElement
TimeInputElement
A time (hour, minute, seconds, fractional seconds) with no time zone.
TimeRanges
TimerSignal
Emit recurring TimerSignalEvent aka AsyncSignal
TimeUtils
A utility class that provides helper methods for working with time.
TitleElement
Toast
ToastCloseButton
Configuration class for toast close button customization.
ToastContent
Creates the toastification content - title, description, progress bar
Toastification
This is the main class of the package. You can use this class to show and manage your notifications.
ToastificationCallbacks
A set of callbacks that you can provide to a Toastification widget. Used to listen for various events in the lifecycle of the Toastification. All of the callbacks are optional.
ToastificationConfig
you can use ToastificationConfig class to change default values of Toastification
ToastificationConfigProvider
This class is responsible for providing the ToastificationConfig to the widget tree
ToastificationItem
class to define the toastification item this class is the base model for the toastification item
ToastificationTheme
An inherited widget that defines the configuration for toastification themes in this widget's subtree.
ToastificationThemeData
A class that defines the theming data for Toastification widgets.
ToastificationType
Defines the visual and behavioral characteristics of built-in toast notifications. This class is used by the BuiltInBuilder to style and render different types of notifications with consistent appearance.
ToastificationWrapper
A wrapper widget that allows the show method to work without context. You can also provides Toastification configurations to its descendants.
ToastThemeData
Theme data for toast.
ToastTimerAnimationBuilder
Using this class you can create your own animation for the timer of the toastification
TopAppWidget
Prefer using TopStatelessWidget instead.
TopSlideNotification
A notification show in front of screen and shown at the top.
TopStatelessWidget
Used instead of StatelessWidget on top of MaterialApp widget to listen to InjectedI18N and InjectedTheme
Touch
TouchEvent
TouchList
TrackDefault
TrackDefaultList
TrackedSignal<T>
A signal that stores the initial and previous value
TrackElement
TrackEvent
TransientKey<T>
The OverlaySupportEntry associated with TransientKey will be dismiss immediately when next OverlaySupportEntry showing by showOverlay with the same key.
TransitionEvent
TreeWalker
TrustedHtml
TrustedScriptUrl
TrustedUrl
TypeRegistry
Registry of custom parsers for application-specific types.
UIEvent
UListElement
UnderlyingSourceBase
UnknownElement
UriOptions
Options that control URI parsing and coercion.
UriPolicy
Defines the policy for what types of uris are allowed for particular attribute values.
Url
UrlChange
Details of the change to a web view's url.
UrlInputElement
A control for editing an absolute URL.
UrlSearchParams
UrlUtilsReadOnly
ValidityState
VideoElement
VideoPlaybackQuality
VideoTrack
VideoTrackList
VisualViewport
VR
VRCoordinateSystem
VRDevice
VRDeviceEvent
VRDisplay
VRDisplayCapabilities
VRDisplayEvent
VREyeParameters
VRFrameData
VRFrameOfReference
VRPose
VRSession
VRSessionEvent
VRStageBounds
VRStageBoundsPoint
VRStageParameters
VttCue
VttRegion
Watch<T extends Widget>
Watch
WatchBuilder<T extends Widget>
Watch
WebResourceError
Error returned in WebView.onWebResourceError when a web resource loading error has occurred.
WebResourceRequest
Defines the parameters of the web resource request from the associated request.
WebResourceResponse
Contains information about the response for a request.
WebSocket
Use the WebSocket interface to connect to a WebSocket, and to send and receive data on that WebSocket.
WebViewController
Controls a WebView provided by the host platform.
WebViewCookie
A cookie that can be set globally for all web views using WebViewCookieManagerPlatform.
WebViewCookieManager
Manages cookies pertaining to all WebViews.
WebViewCredential
Defines the response parameters of a pending HttpAuthRequest received by the webview.
WebViewPermissionRequest
Permissions request when web content requests access to protected resources.
WebViewPermissionResourceType
Types of resources that can require permissions.
WebViewPlatform
Interface for a platform implementation of a WebView.
WebViewWidget
Displays a native WebView as a Widget.
WeekInputElement
A date consisting of a week-year number and a week number with no time zone.
WheelEvent
Window
Top-level container for the current browser tab or window.
WindowBase
Top-level container for a browser tab or window.
WindowBase64
WindowClient
WindowEventHandlers
Worker
WorkerGlobalScope
WorkerPerformance
WorkletAnimation
WorkletGlobalScope
X509Certificate
Represents an X.509 certificate.
XmlDocument
XmlSerializer
XPathEvaluator
XPathExpression
XPathNSResolver
XPathResult
XsltProcessor
YearPicker
A scrollable grid of years to allow picking a year.

Enums

CalendarDatePicker2Mode
Custom enum for a date picker mode including day, month, and year.
CalendarDatePicker2SemanticsLabel
Custom semantic label types
CalendarDatePicker2Type
Custom enum for a date picker type including single, multi, and range.
CloseButtonShowType
Defines the visibility behavior of the toast close button.
DateTimeStrategy
Strategy for encoding DateTime values to JSON.
DurationStrategy
Strategy for encoding Duration values to JSON.
JavaScriptLogLevel
Represents the severity of a JavaScript log message.
JavaScriptMode
Describes the state of JavaScript support in a given web view.
LoadRequestMethod
Defines the supported HTTP methods for loading a page in PlatformWebViewController.
MixinWith
Mixin StateWithMixinBuilder
A decision on how to handle a navigation request.
NonFiniteDoubleStrategy
Strategy for handling non-finite doubles (NaN, Infinity, -Infinity) in JSON.
NotificationPosition
Indicates if notification is going to show at the top or at the bottom.
Pad
Control the padding on functions that allow the result to be padded.
PersistOn
Enums {disposed, manualPersist}
StandardStyle
enum to define the style of the built-in toastification
StateStatus
Possible state status
ToastificationStyle
Defines the visual style of built-in toast notifications.
ToastTimeStatus
enum to define the status of the timer of the toastification item init : the timer is not started yet started : the timer is started paused : the timer is paused stopped : the timer is stopped finished : the timer is finished
WebResourceErrorType
Possible error type categorizations used by WebResourceError.
WebViewOverScrollMode
Defines the over-scroll behavior of a WebView.

Mixins

ChangeStackSignalMixin<T>
Change stack signal that can be used to call undo/redo on a value.
EventSinkSignalMixin<T>
EventSink implementation for AsyncState
IterableSignalMixin<E, T extends Iterable<E>>
Mixin to upgrade an iterable signal with reactive properties
ListSignalMixin<E, T extends List<E>>
Mixin to upgrade an list signal with reactive properties
MapSignalMixin<K, V, T extends Map<K, V>>
Mixin to upgrade an map signal with reactive properties
PersistedSignalMixin<T>
A mixin that provides the persistence logic for a signal.
QueueSignalMixin<T, S extends Queue<T>>
Mixin to upgrade an queue signal with reactive properties
ReadonlySignalMixin<T>
Readonly signal mixin for adding addition helper methods
SetSignalMixin<E, T extends Set<E>>
Mixin to upgrade an set signal with reactive properties
SignalsAutoDisposeMixin<T>
Mixin to enable autodispose on a signal
SignalsMixin<T extends StatefulWidget>
Signals mixin that will automatically rebuild the widget tree when any of the signals change and dispose of any signals and effects created locally.
SinkSignalMixin<T>
Sink implementation for Signal
StreamSignalMixin<T>
Stream implementation for AsyncState
TrackedSignalMixin<T>
Get the previous and initial values used
ValueListenableSignalMixin<T>
ValueListenable implementation for ReadonlySignal
ValueNotifierSignalMixin<T>
ValueNotifier implementation for Signal

Extensions

AlignmentGeometryX on AlignmentGeometry
Extension on AlignmentGeometry
AsyncSignalState on Signal<AsyncState<T>>
Extensions for Signal<AsyncState<T>>
BoolParsingX on Object?
Adds boolean parsing helpers to dynamic values.
BoolSignalExtension on ReadonlySignal<bool>
Helper extensions for ReadonlySignal<bool>
BoolX on bool
Extension on bool
BorderRadiusX on BorderRadius
Extension on BorderRadius
BoxConstraintsX on BoxConstraints
Extension on BoxConstraints
BuildContextX on BuildContext
Extension on BuildContext
ColorX on Color
Extension on Color
ComparableSignalExtension on ReadonlySignal<T>
Helper extensions for ReadonlySignal<Comparable<T>>
ConvertObjectExtension on Object?
Adds a convert getter for fluent type conversions on any value.
DateParsingTextX on String
Extension methods for parsing String values into DateTime instances.
DecorationX on Decoration
Extension on Decoration
DHUArchiveMimeChecksExtensions on String?
DHUArchiveMimeChecksExtensions
DHUAudioMimeChecksExtensions on String?
DHUAudioMimeChecksExtensions
DHUBidiStringExtensions on String
Provides extensions for String to support bidirectional text handling and manipulation.
DHUBidiTDExtensions on TextDirection?
Provides extensions for TextDirection to support bidirectional text formatting.
DHUBoolEx on bool
A set of extensions on the bool type to provide more functionality.
DHUBoolNullableEx on bool?
A set of extensions on the nullable bool type to provide more functionality.
DHUCaseConversionExtensions on String
String case conversion helpers.
DHUCollectionsExtensions on Iterable<E>
Utility extensions for non-nullable iterables.
DHUCollectionsExtensionsNS on Iterable<E>?
Utility extensions for nullable iterables.
DHUContactMimeChecksExtensions on String?
DHUContactMimeChecksExtensions
DHUDateExtensions on DateTime
DHUDateExtensions
DHUDateFormatExtension on DateTime
extension DHUDateFormatExtension on DateTime
DHUDateFormatNStringExtension on String?
extension DHUDateFormatNStringExtension on String?
DHUDocumentMimeChecksExtensions on String?
DHUDocumentMimeChecksExtensions
DHUDoubleExtensions on double
DHUDoubleExtensions
DHUDurationExt on Duration
Extensions for Duration formatting and scheduling helpers.
DHUFontMimeChecksExtensions on String?
DHUFontMimeChecksExtensions
DHUFutureCallbackExtensions on Future<T> Function()
Extensions for Future factories/callbacks.
DHUFutureExtensions on Future<T>
Extensions for Future to add functionality like timeouts and minimum waits.
DHUFutureIterableExtension on Iterable<Future<T> Function()>
Extensions for Iterable of Futures.
DHUHttpEx on num?
DHUHttpEx
DHUImageMimeChecksExtensions on String?
DHUImageMimeChecksExtensions
DHUIntExtensions on int
DHUIntExtensions
DHUIntlExtensions on String
DHUIntlNumExtensions
DHUIntlNumExtensions on num
on
DHUIterableDoubleExtensionsNS on Iterable<double?>?
Extension on nullable Iterable<double?> providing a total sum calculation.
DHUIterableIntExtensionsNS on Iterable<int?>?
Extension on nullable Iterable<int?> providing a total sum calculation.
DHUIterableNumExtensionsNS on Iterable<num?>?
Extension on nullable Iterable<num?> providing a total sum calculation.
DHUListDoubleStats on Iterable<double>
Extension on Iterable<double> providing statistical operations.
DHUListIntStats on Iterable<int>
Extension on Iterable<int> providing statistical operations.
DHUListNumStats on Iterable<num>
Extension on Iterable<num> providing statistical operations.
DHUMapExt on Map<K, V>
DHUMapExt
DHUMapExtension on Map<K, V>
DHUMapExtension
DHUMapNullableExtension on Map<K, V>?
DHUMapNullableExtension
DHUMimeChecksExtensions on String?
DHUMimeChecksExtensions
DHUNDateFormatExtension on DateTime?
extension DHUNDateFormatExtension on DateTime?
DHUNullableDateExtensions on DateTime?
DHUNullableDateExtensions
DHUNullableListExtensions on List<E>?
Enhanced documentation for nullable List extensions.
DHUNullableSetExtensions on Set<E>?
Extension methods for nullable Set collections.
DHUNullSafeCaseConversionExtensions on String?
Nullable String casing helpers.
DHUNullSafeNumExtensions on num?
DHUNullSafeNumExtensions
DHUNullSafeStringExtensions on String?
Extensions for nullable String helpers.
DHUNumberFormatExtensions on num
Extension methods for the num type to format numbers using the intl package.
DHUNumberFormatNullableStringExtensions on String?
This file contains extensions for the NumberFormat class from the intl package.
DHUNumberFormatStringExtensions on String
Extension methods for the String type to format numbers using the intl package.
DHUNumExtensions on num
DHUNumExtensions
DHUObjectNullableExtensions on Object?
Extensions for nullable objects and primitive checks.
DHUProgrammingMimeChecksExtensions on String?
DHUProgrammingMimeChecksExtensions
DHUStreamFactoryExtensions on Stream<T> Function()
DHUStringExtensions on String
Extensions for common String helpers.
DHUUriEx on Uri
Extensions for Uri utils and manipulation.
DHUVideoMimeChecksExtensions on String?
DHUVideoMimeChecksExtensions
DoubleSignalExtension on ReadonlySignal<double>
Helper extensions for ReadonlySignal<double>
DoubleX on double
Extension on double
DoubleXX on double
Extension on double
EdgeInsetsGeometryX on EdgeInsetsGeometry
Extension on EdgeInsetsGeometry
EnumSignalExtension on ReadonlySignal<Enum>
Helper extensions for ReadonlySignal<Enum>
EnumValuesParsing on List<T>
Convenience accessors for creating enum parsers directly from Enum.values.
FlutterReadonlySignalUtils on ReadonlySignal<T>
Signal extensions
InjectedAnimationX on InjectedAnimation
InjectedAuthX on InjectedAuth<T, P>
Extension on InjectedAuth
InjectedCRUDX on InjectedCRUD<T, P>
Extension on InjectedCRUD
InjectedFormX on InjectedForm
Extension on InjectedForm
InjectedScrollingX on InjectedScrolling
extension on InjectedScrolling
InjectedTabPageViewX on InjectedTabPageView
Extension on InjectedTabPageView
IntColorComponents on Color
Extension on Color to provide integer-based color component access.
IntlMapExtension on Map<Object, T>
Provides extensions for Map<Object, T> to support internationalization (i18n) message formatting. IntlMapExtension
IntlMapStringExtension on Map<Object, String>
Provides extensions for Map<Object, String> to support internationalization (i18n) message formatting. IntlMapStringExtension
IntSignalExtension on ReadonlySignal<int>
Helper extensions for ReadonlySignal<int>
IntX on int
Extension on int
IntXX on int
Extension on int
IterableConversionX on Iterable<E>
Type conversion helpers for non-null Iterable collections.
JsonAnyX on Object?
JsonIterableX on Iterable<T>
JsonMapX on Map<K, V>
LetExtension on T
Kotlin-style scope functions for non-nullable types.
LetExtensionNullable on T?
Kotlin-style scope functions for nullable types.
ListSignalExtension on Signal<List<E>>
Helper extensions for Signal<List>
ListX on List<T>
Extension on List
MapConversionX on Map<K, V>
Type conversion helpers for non-nullable Map instances.
MapSignalExtension on Signal<Map<K, V>>
Helper extensions for Signal<Map>
MapX on Map<T, D>
Extension on Map
Matrix4X on Matrix4
Extension on Matrix4
NullableIterableConversionX on Iterable<E>?
Conversion helpers for nullable Iterable collections.
NullableMapConversionX on Map<K, V>?
Conversion helpers for nullable maps.
NullX on Null
Extension on Null
NumberToDateUtils on num
NumberToDateUtils
NumParsingTextX on String
Extension methods for parsing numeric strings with lenient formatting.
NumSignalExtension on ReadonlySignal<num>
Helper extensions for ReadonlySignal<num>
OffsetX on Offset
Extension on Offset
PageSettingsX on List<PageSettings>
Extension on List
PatternSignalExtension on ReadonlySignal<Pattern>
Helper extensions for ReadonlySignal<Pattern>
ReactiveModelBool on ReactiveModel<bool>
Extension on ReactiveModel
ReactiveModeListX on List<ReactiveModel>
Extension on List
ReactiveModeX on ReactiveModel<T>
Extension on ReactiveModel
ReadonlyIterableSignalExtension on ReadonlySignal<Iterable<E>>
Helper extensions for ReadonlySignal<Iterable>
ReadonlyListSignalExtension on ReadonlySignal<List<E>>
Helper extensions for ReadonlySignal<List>
ReadonlyMapSignalExtension on ReadonlySignal<Map<K, V>>
Helper extensions for ReadonlySignal<Map>
ReadonlySetSignalExtension on ReadonlySignal<Set<E>>
Helper extensions for ReadonlySignal<Set>
ReadonlySignalUtils on ReadonlySignal<T>
Readonly signal extensions
RectX on Rect
Extension on Rect
RelativeRectX on RelativeRect
Extension on RelativeRect
RomanNumeralIntX on num
Adds Roman numeral conversion to numeric types.
RomanNumeralNullableStringX on String?
Adds nullable-safe Roman numeral parsing to strings.
RomanNumeralStringX on String
Adds Roman numeral parsing to strings.
SetConvertToX on Set<E>?
Converts nullable sets into a Set of a different type.
SetSignalExtension on Signal<Set<E>>
Helper extensions for Signal<Set>
SetX on Set<T>
Extension on Set
SignalBoolExtensions on bool
Extensions for bool
SignalComparableExtensions on Comparable<T>
Extensions for Comparable<T>
SignalDoubleExtensions on double
Extensions for double
SignalEnumExtensions on T
Extensions for Enum
SignalFunctionExtensions on T Function()
Extensions for T Function()
SignalFutureUtils on Future<T>
Extension on future to provide helpful methods for signals
SignalIntExtensions on int
Extensions for int
SignalIterableExtensions on Iterable<E>
Extensions for Iterable<E>
SignalIterableUtils on Iterable<T>
Extension on future to provide helpful methods for signals
SignalListExtensions on List<E>
Extensions for List<E>
SignalListUtils on List<T>
Extension on future to provide helpful methods for signals
SignalMapExtensions on Map<K, V>
Extensions for Map<E>
SignalMapUtils on Map<K, V>
Extension on future to provide helpful methods for signals
SignalNumExtensions on num
Extensions for num
SignalPatternExtensions on Pattern
Extensions for Pattern
SignalQueueUtils on Queue<T>
Extension on future to provide helpful methods for signals
SignalSetExtensions on Set<E>
Extensions for Set<E>
SignalSetUtils on Set<T>
Extension on future to provide helpful methods for signals
SignalStreamUtils on Stream<T>
Extension on stream to provide helpful methods for signals
SignalStringExtensions on String
Extensions for String
SignalValueListenableUtils on ValueListenable<T>
Extension on ValueListenable to provide helpful methods for signals
SignalValueNotifierUtils on ValueNotifier<T>
Extension on ValueNotifier to provide helpful methods for signals
SizeX on Size
Extension on Size
StreamControllerSafeExtensions on StreamController<T>
StreamErrorRecovery on Stream<T>
StreamTransformations on Stream<T>
Additional stream transformations not covered by the official Dart RateLimit extension.
StringEx on String
Provides a set of extensions for the core String class.
StringSignalExtension on ReadonlySignal<String>
Helper extensions for ReadonlySignal<String>
StringX on String
Extension on String
StringXX on String
Extension on String
TextJsonX on String
Adds JSON decoding helpers to String.
TextStyleX on TextStyle
Extension on TextStyle
ThemeDataX on ThemeData
Extension on ThemeData
TimerSignalDurationUtils on Duration
Expose Duration as a TimerSignal
ToastStyleExtension on ToastificationStyle
TypeX on T
Extension on type
UriParsingX on String
Extension methods for validating and converting URI-like strings.
WriteableSignalUtils on Signal<T>
Writeable signal extensions

Constants

cssColorNamesToArgb → const Map<String, int>
A map of CSS color names to their corresponding ARGB values. Usage could be like with Color class: Color(cssColorNamesToArgb['red'])
defaultAlignment → const AlignmentDirectional
defaultClipBehavior → const Clip
defaultItemAnimationDuration → const Duration
defaultWidth → const double
errorColor → const Color
default color for error toastification
fullMonthsNames → const Map<int, String>
A map of integers to full month names.
fullWeekdays → const Map<int, String>
A map of integers to full weekday names.
greekNumberSuffixes → const List<String>
A list of Greek number suffixes used for large numbers representation.
highModeShadow → const List<BoxShadow>
infoColor → const Color
lowModeShadow → const List<BoxShadow>
millisecondsPerDay → const int
Number of milliseconds in one day.
millisecondsPerHour → const int
Number of milliseconds in one hour.
millisecondsPerMinute → const int
Number of milliseconds in one minute.
millisecondsPerSecond → const int
Milliseconds constants for different time units. Number of milliseconds in one second.
oneDay → const Duration
Duration representing one day.
oneHour → const Duration
Duration representing one hour.
oneMinute → const Duration
Duration representing one minute.
oneSecond → const Duration
Duration representing one second.
regexAlphabet → const String
Matches ASCII letters only.
regexAlphanumeric → const String
Common regex patterns used for validation and parsing. Matches ASCII letters and digits only.
regexComponentSeparator → const String
A regular expression pattern that matches whitespace-flexible comma separators. This pattern is designed to handle the standard format of CSS color functions like rgb(), rgba(), hsl(), etc.
regexContainsDigits → const String
Matches strings containing at least one digit.
regexHasCapitalLetter → const String
Matches uppercase ASCII letters.
regexNumeric → const String
Matches ASCII digits only.
regexSpecialChars → const String
Matches any character that is not ASCII letter, digit, or space.
regexStartsWithNumber → const String
Matches strings that start with a digit.
regexValidCurrency → const String
Matches common currency strings with optional symbols and grouping.
regexValidEmail → const String
Matches email addresses in a typical local@domain format.
regexValidHexColor → const String
Validates hex color strings in various formats (CSS-style or 0x prefixed).
regexValidHslColor → const String
Legacy hsl()/hsla() regex - updated to handle all valid space combinations and Allow zero or more spaces before and after the comma.
regexValidIp4 → const String
Matches IPv4 addresses.
regexValidModernColorFunc → const String
Modern color function regex – it now outright disallows any commas inside the parentheses.
regexValidPhoneNumber → const String
Matches common phone number formats with optional country codes and extensions.
regexValidRgbColor → const String
Legacy rgb()/rgba() regex. (Note that if the function name is exactly "rgb(" then an alpha value is not allowed.)
regexValidUrl → const String
Matches http/https URLs and common URL patterns.
regexValidUsername → const String
Matches usernames starting and ending with an alphanumeric character.
romanNumerals → const Map<int, String>
Lookup table mapping integers to their Roman numeral representations.
smallMonthsNames → const Map<int, String>
A map of integers to abbreviated month names.
smallWeekdays → const Map<int, String>
A map of integers to abbreviated weekday names.
successColor → const Color
default color for success toastification
textDirectionLTR → const TextDirection
Left-to-right text direction constant.
textDirectionRTL → const TextDirection
Right-to-left text direction constant.
textDirectionUNKNOWN → const TextDirection
Unknown text direction constant.
warningColor → const Color
default color for warning toastification

Properties

currentMillisecondsSinceEpoch → int
Returns the current time in milliseconds since the Unix epoch.
no setter
document → HtmlDocument
Root node for all content in a web page.
no setter
httpStatusDevMessage → Map<int, String>
A map of HTTP status codes to detailed technical messages.
no setter
httpStatusMessages → Map<int, String>
A map of HTTP status codes to their corresponding messages.
no setter
httpStatusUserMessage → Map<int, String>
A map of HTTP status codes to user-friendly messages.
no setter
kNotificationDuration ↔ Duration
The length of time the notification is fully displayed.
getter/setter pair
kNotificationSlideDuration ↔ Duration
Notification display or hidden animation duration.
getter/setter pair
now → DateTime
Returns the current time.
no setter
signalsDevToolsEnabled ↔ bool
Check if the signals devtools are enabled
getter/setter pair
toastification → Toastification
This is the main singleton class instance of the package. You can use this instance to show and manage your notifications.
final
window → Window
Top-level container for a web page, which is usually a browser tab or window.
no setter

Functions

asyncSignal<T>(AsyncState<T> value, {String? debugLabel, bool autoDispose = false}) → AsyncSignal<T>
The signal function creates a new signal. A signal is a container for a value that can change over time. You can read a signal's value or subscribe to value updates by accessing its .value property.
batch<T>(BatchCallback<T> fn) → T
The batch function allows you to combine multiple signal writes into one single update that is triggered at the end when the callback completes.
changeStack<T>(T value, {String? debugLabel, int? limit, bool autoDispose = false}) → ChangeStackSignal<T>
Change stack signal that can be used to call undo/redo on a value.
computed<T>(T compute(), {String? debugLabel, bool autoDispose = false, bool runCallbackOnListen = false}) → FlutterComputed<T>
Create a new signal that is computed based on the values of other signals.
computedAsync<T>(Future<T> fn(), {T? initialValue, String? debugLabel, bool autoDispose = false, List<ReadonlySignal> dependencies = const [], bool lazy = true}) → FutureSignal<T>
Async Computed is syntax sugar around FutureSignal.
computedFrom<T, A>(List<ReadonlySignal<A>> signals, Future<T> fn(List<A> args), {T? initialValue, String? debugLabel, bool autoDispose = false, bool lazy = true}) → FutureSignal<T>
Async Computed is syntax sugar around FutureSignal.
connect<T, S extends T>(Signal<T> signal, [Stream<S>? stream]) → Connect<T, S>
The idea for connect comes from Anguar Signals with RxJS:
convertToBigInt(dynamic object, {Object? mapKey, int? listIndex, BigInt? defaultValue, BigInt converter(Object?)?}) → BigInt
Top-level convenience alias for Convert.toBigInt.
convertToBool(dynamic object, {Object? mapKey, int? listIndex, bool? defaultValue, bool converter(Object?)?}) → bool
Top-level convenience alias for Convert.toBool.
convertToDateTime(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, bool autoDetectFormat = false, bool useCurrentLocale = false, bool utc = false, DateTime? defaultValue, DateTime converter(Object?)?}) → DateTime
Top-level convenience alias for Convert.toDateTime.
convertToDouble(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, double? defaultValue, double converter(Object?)?}) → double
Top-level convenience alias for Convert.toDouble.
convertToEnum<T extends Enum>(dynamic object, {required T parser(dynamic), Object? mapKey, int? listIndex, T? defaultValue, Map<String, dynamic>? debugInfo}) → T
Top-level convenience alias for Convert.toEnum.
convertToInt(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, int? defaultValue, int converter(Object?)?}) → int
Top-level convenience alias for Convert.toInt.
convertToList<T>(dynamic object, {Object? mapKey, int? listIndex, List<T>? defaultValue, T elementConverter(Object?)?}) → List<T>
Top-level convenience alias for Convert.toList.
convertToMap<K, V>(dynamic object, {Object? mapKey, int? listIndex, Map<K, V>? defaultValue, K keyConverter(Object?)?, V valueConverter(Object?)?}) → Map<K, V>
Top-level convenience alias for Convert.toMap.
convertToNum(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, num? defaultValue, num converter(Object?)?}) → num
Top-level convenience alias for Convert.toNum.
convertToSet<T>(dynamic object, {Object? mapKey, int? listIndex, Set<T>? defaultValue, T elementConverter(Object?)?}) → Set<T>
Top-level convenience alias for Convert.toSet.
convertToString(dynamic object, {Object? mapKey, int? listIndex, String? defaultValue, String converter(Object?)?}) → String
Top-level convenience alias for Convert.string.
convertToType<T>(dynamic object) → T
Top-level convenience alias for Convert.toType.
convertToUri(dynamic object, {Object? mapKey, int? listIndex, Uri? defaultValue, Uri converter(Object?)?}) → Uri
Top-level convenience alias for Convert.toUri.
defaultAnimationBuilderConfig(BuildContext context, Animation<double> animation, Alignment alignment, Widget child) → Widget
Default animation builder for Toastification
defaultMarginBuilder(BuildContext context, AlignmentGeometry alignment) → EdgeInsetsGeometry
Default margin builder for Toastification
disableSignalsDevTools() → void
Disable the devtools
effect(EffectCallback fn, {String? debugLabel, EffectCallback? onDispose}) → EffectCleanup
The effect function is the last piece that makes everything reactive. When you access a signal inside its callback function, that signal and every dependency of said signal will be activated and subscribed to. In that regard it is very similar to computed(fn). By default all updates are lazy, so nothing will update until you access a signal inside effect.
futureSignal<T>(Future<T> fn(), {T? initialValue, String? debugLabel, List<ReadonlySignal> dependencies = const [], bool lazy = true, bool autoDispose = false}) → FutureSignal<T>
Future signals can be created by extension or method.
getDayRowsCount(int year, int month, int firstDayOfWeekIndex) → int
Get the number of rows required to display all days in a month.
getLocaleFullMonthFormat(Locale locale) → DateFormat
Get full month format for the given locale.
getLocaleShortMonthFormat(Locale locale) → DateFormat
Get short month format for the given locale.
getMonthFirstDayOffset(int year, int month, int firstDayOfWeekIndex) → int
Get the number of days offset for the first day in a month.
intToRomanNumeral(int value) → String
Converts an integer to its Roman numeral representation.
isEqual(dynamic a, dynamic b) → bool
Returns true when a and b are deeply equal.
isTypePrimitive<T>() → bool
Returns true when the static type T is a primitive type.
isValuePrimitive(dynamic value) → bool
Returns true when value is a primitive value or a collection of primitives.
iterableSignal<T>(Iterable<T> iterable, {String? debugLabel, bool autoDispose = false}) → IterableSignal<T>
Create an IterableSignal from Iterable
jsonSafe(dynamic value, {JsonOptions options = const JsonOptions(), Object? toEncodable(dynamic object)?}) → dynamic
Returns a JSON-encodable form of value, honoring options.
lazySignal<T>({String? debugLabel, bool autoDispose = false, bool runCallbackOnListen = false}) → FlutterSignal<T>
Lazy signal that can be created with type T that the value will be assigned later.
listSignal<T>(List<T> list, {String? debugLabel, bool autoDispose = false}) → ListSignal<T>
Create an ListSignal from List
mapSignal<K, V>(Map<K, V> map, {String? debugLabel, bool autoDispose = false}) → MapSignal<K, V>
Create an MapSignal from Map
promiseToFutureAsMap(dynamic jsPromise) → Future<Map<String, dynamic>?>
Convert a JS Promise to a Future<Map<String, dynamic>>.
querySelector(String selectors) → Element?
Finds the first descendant element of this document that matches the specified group of selectors.
querySelectorAll<T extends Element>(String selectors) → ElementList<T>
Finds all descendant elements of this document that match the specified group of selectors.
queueSignal<T>(Queue<T> list, {String? debugLabel, bool autoDispose = false}) → QueueSignal<T>
Create an QueueSignal from Queue
randomBool([int? seed]) → bool
Returns a random boolean value.
randomDouble([int? seed]) → double
Returns a random double in the range 0.0 <= value < 1.0.
randomInRange(num min, num max, [int? seed]) → int
Generates a random integer within the specified range.
randomInt(int max, [int? seed]) → int
Returns a random integer in the range 0 <= value < max.
readonly<T>(T value, {String? debugLabel, bool autoDispose = false, bool runCallbackOnListen = false}) → FlutterReadonlySignal<T>
Create a new plain readonly signal
readonlySignalContainer<T, Arg>(ReadonlySignal<T> create(Arg), {bool cache = false}) → SignalContainer<T, Arg, ReadonlySignal<T>>
Create a signal container used to instance signals based on args
reloadSignalsDevTools() → void
Reload the devtools
romanNumeralToInt(String romanNumeral) → int
Parses a Roman numeral string into its integer value.
setSignal<T>(Set<T> list, {String? debugLabel, bool autoDispose = false}) → SetSignal<T>
Create an SetSignal from Set
showCalendarDatePicker2Dialog({required BuildContext context, required CalendarDatePicker2WithActionButtonsConfig config, required Size dialogSize, List<DateTime?> value = const [], BorderRadius? borderRadius, bool useRootNavigator = true, bool barrierDismissible = true, Color? barrierColor = Colors.black54, bool useSafeArea = true, Color? dialogBackgroundColor, RouteSettings? routeSettings, String? barrierLabel, TransitionBuilder? builder}) → Future<List<DateTime?>?>
Display CalendarDatePicker with action buttons
showOverlay(AnimatedOverlayWidgetBuilder builder, {Curve? curve, Duration? duration, Key? key, BuildContext? context, Duration? animationDuration, Duration? reverseAnimationDuration}) → OverlaySupportEntry
Basic api to show overlay widget.
showOverlayNotification(WidgetBuilder builder, {Duration? duration, Key? key, NotificationPosition position = NotificationPosition.top, BuildContext? context}) → OverlaySupportEntry
Popup a notification at the top of screen.
showSimpleNotification(Widget content, {Widget? leading, Widget? subtitle, Widget? trailing, EdgeInsetsGeometry? contentPadding, Color? background, Color? foreground, double elevation = 16, Duration? duration, Key? key, bool autoDismiss = true, bool slideDismiss = false, NotificationPosition position = NotificationPosition.top, BuildContext? context, DismissDirection? slideDismissDirection}) → OverlaySupportEntry
Show a simple notification above the top of window.
signal<T>(T value, {String? debugLabel, bool autoDispose = false, bool runCallbackOnListen = false}) → FlutterSignal<T>
Simple signal that can be created with type T that can read and write a value.
signalContainer<T, Arg>(Signal<T> create(Arg), {bool cache = false}) → SignalContainer<T, Arg, Signal<T>>
Create a signal container used to instance signals based on args
streamSignal<T>(Stream<T> callback(), {T? initialValue, String? debugLabel, List<ReadonlySignal> dependencies = const [], void onDone()?, bool? cancelOnError, bool lazy = true, bool autoDispose = false}) → StreamSignal<T>
Stream signals can be created by extension or method.
tickerSignal({Duration? initialDuration, String? debugLabel}) → TickerSignal
Ticker signal used to drive animations and can create animation controllers
timerSignal(Duration every, {String debugLabel = 'Timer', bool? cancelOnError, bool autoDispose = false}) → TimerSignal
Create a TimerSignal
toast(String message, {Duration duration = Toast.LENGTH_SHORT, BuildContext? context}) → void
Popup a message in front of screen.
trackedSignal<T>(T value, {String? debugLabel, bool autoDispose = false}) → TrackedSignal<T>
Create a signal that stores the initial and previous value
tryConvertToBigInt(dynamic object, {Object? mapKey, int? listIndex, BigInt? defaultValue, BigInt converter(Object?)?}) → BigInt?
Top-level convenience alias for Convert.tryToBigInt.
tryConvertToBool(dynamic object, {Object? mapKey, int? listIndex, bool? defaultValue, bool converter(Object?)?}) → bool?
Top-level convenience alias for Convert.tryToBool.
tryConvertToDateTime(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, bool autoDetectFormat = false, bool useCurrentLocale = false, bool utc = false, DateTime? defaultValue, DateTime converter(Object?)?}) → DateTime?
Top-level convenience alias for Convert.tryToDateTime.
tryConvertToDouble(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, double? defaultValue, double converter(Object?)?}) → double?
Top-level convenience alias for Convert.tryToDouble.
tryConvertToEnum<T extends Enum>(dynamic object, {required T parser(dynamic), Object? mapKey, int? listIndex, T? defaultValue, Map<String, dynamic>? debugInfo}) → T?
Top-level convenience alias for Convert.tryToEnum.
tryConvertToInt(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, int? defaultValue, int converter(Object?)?}) → int?
Top-level convenience alias for Convert.tryToInt.
tryConvertToList<T>(dynamic object, {Object? mapKey, int? listIndex, List<T>? defaultValue, T elementConverter(Object?)?}) → List<T>?
Top-level convenience alias for Convert.tryToList.
tryConvertToMap<K, V>(dynamic object, {Object? mapKey, int? listIndex, Map<K, V>? defaultValue, K keyConverter(Object?)?, V valueConverter(Object?)?}) → Map<K, V>?
Top-level convenience alias for Convert.tryToMap.
tryConvertToNum(dynamic object, {Object? mapKey, int? listIndex, String? format, String? locale, num? defaultValue, num converter(Object?)?}) → num?
Top-level convenience alias for Convert.tryToNum.
tryConvertToSet<T>(dynamic object, {Object? mapKey, int? listIndex, Set<T>? defaultValue, T elementConverter(Object?)?}) → Set<T>?
Top-level convenience alias for Convert.tryToSet.
tryConvertToString(dynamic object, {Object? mapKey, int? listIndex, String? defaultValue, String converter(Object?)?}) → String?
Top-level convenience alias for Convert.tryToString.
tryConvertToType<T>(dynamic object) → T?
Top-level convenience alias for Convert.tryToType.
tryConvertToUri(dynamic object, {Object? mapKey, int? listIndex, Uri? defaultValue, Uri converter(Object?)?}) → Uri?
Top-level convenience alias for Convert.tryToUri.
untracked<T>(UntrackedCallback<T> fn) → T
In case when you're receiving a callback that can read some signals, but you don't want to subscribe to them, you can use untracked to prevent any subscriptions from happening.
unwatchSignal<T>(BuildContext context, ReadonlySignal<T> signal) → void
Remove all subscribers for a given signal for watchers
valueListenableToSignal<T>(ValueListenable<T> valueListenable, {String? debugLabel, bool autoDispose = false}) → ReadonlySignal<T>
SignalValueNotifier
valueNotifierToSignal<T>(ValueNotifier<T> valueNotifier, {String? debugLabel, bool autoDispose = false}) → Signal<T>
SignalValueNotifier
watchSignal<T>(BuildContext context, ReadonlySignal<T> signal, {String? debugLabel}) → T
Watch a signal value and rebuild the context of the Element if mounted and mark it as dirty

Typedefs

AnimatedOverlayWidgetBuilder = Widget Function(BuildContext context, double progress)
To build a widget with animated value. progress : the progress of overlay animation from 0 - 1
AsyncAction = FutureOr<void> Function()
A function signature for asynchronous actions.
AsyncDataBuilder<E, T> = E Function(T value)
Value builder for AsyncState
AsyncErrorBuilder<E> = Function
Error builder for AsyncState
AsyncStateBuilder<E> = E Function()
Generic builder for AsyncState
BatchCallback<T> = T Function()
A callback that is executed inside a batch.
BlobCallback = void Function(Blob? blob)
CloseButtonBuilder = Widget Function(BuildContext context, VoidCallback onClose)
Signature for a function that builds a custom close button widget.
ComputedCallback<T> = T Function()
A callback that is executed inside a computed.
CustomElementConstructor = void Function()
DayBuilder = Widget? Function({required DateTime date, BoxDecoration? decoration, bool? isDisabled, bool? isSelected, bool? isToday, TextStyle? textStyle})
Custom builder for the day widget
DayTextStylePredicate = TextStyle? Function({required DateTime date})
Predicate to determine the text style for a day.
DecodeErrorCallback = void Function(DomException error)
DecodeSuccessCallback = void Function(dynamic decodedData)
DynamicConverter<T> = T Function(Object? value)
Signature for lazily transforming a stored value before conversion.
EffectCallback = dynamic Function()
Function called when signals in the callback change
EffectCleanup = void Function()
Clean up function to stop subscriptions from updating the callback
ElementConverter<T> = T Function(Object? element)
Signature for transforming a single element while converting collections.
EventListener = dynamic Function(Event event)
FontFaceSetForEachCallback = void Function(FontFace fontFace, FontFace fontFaceAgain, FontFaceSet set)
Emitted for any setlike IDL entry needs a callback signature. Today there is only one.
FrameRequestCallback = void Function(num highResTime)
FunctionStringCallback = void Function(String data)
HttpResponseErrorCallback = void Function(HttpResponseError error)
Signature for callbacks that report http errors during loading a page.
IdleRequestCallback = void Function(IdleDeadline deadline)
IntersectionObserverCallback = void Function(List entries, IntersectionObserver observer)
LoggerFunction = void Function(String message)
A function signature for logging messages.
MediaSessionActionHandler = void Function()
MessageCallback = void Function(Map message)
MetadataCallback = void Function(Metadata metadata)
ModePickerBuilder = Widget? Function({bool? isMonthPicker, required DateTime monthDate, required CalendarDatePicker2Mode viewMode})
Builder for the mode picker widget
ModePickerTextHandler = String? Function({bool? isMonthPicker, required DateTime monthDate})
Handler for the text displayed in the mode picker
MojoWatchCallback = void Function(int result)
MonthBuilder = Widget? Function({BoxDecoration? decoration, bool? isCurrentMonth, bool? isDisabled, bool? isSelected, required int month, TextStyle? textStyle})
Custom builder for the month widget
MutationCallback = void Function(List mutations, MutationObserver observer)
Signature for callbacks that report a pending navigation request.
PageEventCallback = void Function(String url)
Signature for callbacks that report page events triggered by the native web view.
PerformanceObserverCallback = void Function(PerformanceObserverEntryList entries, PerformanceObserver observer)
Predicate<T> = bool Function(T)
A type alias representing a predicate function that takes a value of type T and returns a boolean value.
ProgressCallback = void Function(int progress)
Signature for callbacks that report loading progress of a page.
RemotePlaybackAvailabilityCallback = void Function(bool available)
ReportingObserverCallback = void Function(List reports, ReportingObserver observer)
RequestAnimationFrameCallback = void Function(num highResTime)
ResizeObserverCallback = void Function(List entries, ResizeObserver observer)
RtcPeerConnectionErrorCallback = void Function(DomException exception)
RtcStatsCallback = void Function(RtcStatsResponse response)
ScrollStateCallback = void Function(ScrollState scrollState)
ScrollViewMonthYearBuilder = Widget Function(DateTime monthDate)
Builder for the month and year in the scroll calendar view.
ScrollViewOnScrolling = void Function(double offset)
Callback for the scroll calendar view on scrolling
SelectableDayPredicate = bool Function(DateTime day)
Predicate to determine whether a day should be selectable.
SelectableMonthPredicate = bool Function(int year, int month)
Predicate to determine whether a month should be selectable.
SelectableYearPredicate = bool Function(int year)
Predicate to determine whether a year should be selectable.
SelectedRangeDecorationPredicate = BoxDecoration? Function({required DateTime dayToBuild, required BoxDecoration decoration, required bool isEndDate, required bool isStartDate})
Predicate to determine the day widget box decoration for a day in selected range
SelectedRangeHighlightBuilder = Widget? Function({required DateTime dayToBuild, required bool isEndDate, required bool isStartDate})
Function to provide full control over range picker highlight
SignalChange<T> = ({T previousValue, T value})
Signal change that contains a snapshot of the previous value and next value
StateInterceptor<T> = SnapState<T>? Function(SnapState<T> currentSnap, SnapState<T> nextSnap)
StorageErrorCallback = void Function(DomError error)
StorageQuotaCallback = void Function(int grantedQuotaInBytes)
StorageUsageCallback = void Function(int currentUsageInBytes, int currentQuotaInBytes)
ThrottlerAction = FutureOr<void> Function()
A function signature for throttled actions.
ThrottlerErrorHandler = void Function(Object error, StackTrace stack)
A function signature for throttler error handling.
TimeoutHandler = void Function()
TimerFactory = Timer Function(Duration duration, void callback())
A function signature for creating timers. timerFactory allows customizing timer creation, useful for testing or specialized timing behavior. Defaults to standard Timer.new.
TimerSignalEvent = ({int iteration, int millis})
Time event to react to
ToastificationAnimationBuilder = Widget Function(BuildContext context, Animation<double> animation, Alignment alignment, Widget child)
type definition for the animation builder of the custom toastification use this builder to create your own toastification animation
ToastificationBuilder = Widget Function(BuildContext context, ToastificationItem holder)
type definition for the builder of the custom toastification use this builder to create your own toastification widget
ToastificationMarginBuilder = EdgeInsetsGeometry Function(BuildContext context, AlignmentGeometry alignment)
UntrackedCallback<T> = T Function()
A callback that is executed inside a computed.
VoidCallback = void Function()
WebResourceErrorCallback = void Function(WebResourceError error)
Signature for callbacks that report a resource loading error.
WeekdayLabelBuilder = Widget? Function({bool? isScrollViewTopHeader, required int weekday})
Custom builder for the weekday label widget
YearBuilder = Widget? Function({BoxDecoration? decoration, bool? isCurrentYear, bool? isDisabled, bool? isSelected, TextStyle? textStyle, required int year})
Custom builder for the year widget

Exceptions / Errors

ConversionException
Exception thrown when a type conversion fails.
EffectCycleDetectionError
Cycle detection usually means you have updated a signal inside an effect and are reading by value.
LazySignalInitializationError
Lazy signal must value value set before it is read
NullWindowException
RException
Represents a range exception.
SignalEffectException
Error for when a effect fails to run the callback
SignalsError
Signal usage error
SignalsReadAfterDisposeError
Error to throw if a signal is read after it is disposed
SignalsWriteAfterDisposeError
Error to throw if a signal is written to after it is disposed