graphx library

Classes

AbstractNode
An abstract node in a tree. [...]
AndroidMotionEvent
A Dart version of Android's MotionEvent.
AndroidPointerCoords
Position information for an Android pointer. [...]
AndroidPointerProperties
Properties of an Android pointer. [...]
AndroidViewController
Controls an Android view. [...]
ApplicationSwitcherDescription
Specifies a description of the application that is pertinent to the embedder's application switcher (also known as "recent tasks") user interface. [...]
AssetBundle
A collection of resources used by the application. [...]
AutofillClient
An object that represents an autofillable input field in the autofill workflow. [...]
AutofillConfiguration
A collection of autofill related information that represents an AutofillClient. [...]
AutofillHints
A collection of commonly used autofill hint strings on different platforms. [...]
AutofillScope
An ordered group within which AutofillClients are logically connected. [...]
BasicMessageChannel<T>
A named channel for communicating with platform plugins using asynchronous message passing. [...]
BinaryCodec
MessageCodec with unencoded binary messages represented using ByteData. [...]
BinaryMessages
Sends binary messages to and receives binary messages from platform plugins. [...]
BinaryMessenger
A messenger which sends binary data across the Flutter platform barrier. [...]
BindingBase
Base class for mixins that provide singleton services (also known as "bindings"). [...]
BitField<T extends dynamic>
A BitField over an enum (or other class whose values implement "index"). Only the first 62 values of the enum can be used as indices. [...]
BlacklistingTextInputFormatter
Old name for FilteringTextInputFormatter.deny.
ByteData
A fixed-length, random-access sequence of bytes that also provides random and unaligned access to the fixed-width integers and floating point numbers represented by those bytes. [...]
CachingAssetBundle
An AssetBundle that permanently caches string and structured resources that have been fetched. [...]
CachingIterable<E>
A lazy caching version of Iterable. [...]
CallbackParams
Category
A category with which to annotate a class, for documentation purposes. [...]
ChangeNotifier
A class that can be extended or mixed in that provides a change notification API using VoidCallback for notifications. [...]
Clipboard
Utility methods for interacting with the system's clipboard.
ClipboardData
Data stored on the system clipboard. [...]
CommonTweenWraps
Common tweenable wrappers for GraphX
ContextUtils
DeferredComponent
Manages the installation and loading of deferred component modules. [...]
DiagnosticableNode<T extends Diagnosticable>
DiagnosticsNode that lazily calls the associated Diagnosticable value to implement getChildren and getProperties.
DiagnosticableTree
A base class for providing string and DiagnosticsNode debug representations describing the properties and children of an object. [...]
DiagnosticableTreeNode
DiagnosticsNode for an instance of DiagnosticableTree.
DiagnosticPropertiesBuilder
Builder to accumulate properties and configuration used to assemble a DiagnosticsNode from a Diagnosticable object.
DiagnosticsBlock
DiagnosticsNode that exists mainly to provide a container for other diagnostics that typically lacks a meaningful value of its own. [...]
DiagnosticsNode
Defines diagnostics data for a value. [...]
DiagnosticsProperty<T>
Property with a value of type T. [...]
DiagnosticsSerializationDelegate
A delegate that configures how a hierarchy of DiagnosticsNodes should be serialized. [...]
DiagnosticsStackTrace
Diagnostic with a StackTrace value suitable for displaying stack traces as part of a FlutterError object.
DisplayBoundsDebugger
DocumentationIcon
A class annotation to provide a URL to an image that represents the class. [...]
DoubleProperty
Property describing a double value with an optional unit of measurement. [...]
EnumProperty<T>
An property than displays enum values tersely. [...]
ErrorDescription
An explanation of the problem and its cause, any information that may help track down the problem, background information, etc. [...]
ErrorHint
An ErrorHint provides specific, non-obvious advice that may be applicable. [...]
ErrorSpacer
An ErrorSpacer creates an empty DiagnosticsNode, that can be used to tune the spacing between other DiagnosticsNode objects.
ErrorSummary
A short (one line) description of the problem that was detected. [...]
EventChannel
A named channel for communicating with platform plugins using event streams. [...]
EventSignal<T>
Factory<T>
A factory interface that also reports the type of the created objects.
FilteringTextInputFormatter
A TextInputFormatter that prevents the insertion of characters matching (or not matching) a particular pattern. [...]
FlagProperty
Property where the description is either ifTrue or ifFalse depending on whether value is true or false. [...]
FlagsSummary<T>
A summary of multiple properties, indicating whether each of them is present (non-null) or absent (null). [...]
FlutterErrorDetails
Class for information provided to FlutterExceptionHandler callbacks. [...]
FontLoader
A class that enables the dynamic loading of fonts at runtime. [...]
GBaseFilter
GBitmap
GBlurFilter
GColorFilters
GColorMatrixFilter
GComposerFilter
GDisplayObject
GDisplayObjectContainer
GDropShadowFilter
GEase
GIcon
GifAtlas
GifFrame
GKeyboard
Utility class to work easily with keyboard events.
GLFWKeyHelper
Helper class that uses GLFW-specific key mappings.
GlowFilter
GMatrix
GMouse
Accessible from pointer_manager.dart
GMovieClip
GPoint
Graphics
GraphicsClipper
Custom Clipper that uses Graphics API instead of Path. For ClipPath() Widget.
GraphicsDrawingData
Graphx
Dummy class might be a central access points to Tickers, Pointers, Keyboards, and SceneControllers in the future.
GRect
GShape
GSimpleParticle
GSimpleParticleSystem
GSprite
GSubTexture
GSvgShape
GText
GTexture
GTextureAtlas
GTicker
GtkKeyHelper
Helper class that uses GTK-specific key mappings.
GTween
GTweenableBlur
GTweenableColor
GTweenableDisplayObject
GTweenableDouble
GTweenableDropShadowFilter
GTweenableGlowFilter
GTweenableInt
GTweenableList
GTweenableMap
GTweenablePoint
GTweenableRect
GTweenLerpColor
GTweenLerpProp<T>
GVars
GxRectCornerRadius
GxRenderable
HapticFeedback
Allows access to the haptic feedback interface on the device. [...]
HashedObserverList<T>
A list optimized for the observer pattern, but for larger numbers of observers. [...]
InputConverter
IntProperty
An int valued property with an optional unit the value is measured in. [...]
IterableProperty<T>
Property with an Iterable<T> value that can be displayed with different DiagnosticsTreeStyle for custom rendering. [...]
JSONMessageCodec
MessageCodec with UTF-8 encoded JSON messages. [...]
JSONMethodCodec
MethodCodec with UTF-8 encoded JSON method calls and result envelopes. [...]
Key
A Key is an identifier for Widgets, Elements and SemanticsNodes. [...]
KeyboardEventData
KeyboardKey
A base class for all keyboard key types. [...]
KeyboardManager<T extends KeyboardEventData>
KeyHelper
Abstract class for window-specific key mappings. [...]
LayoutUtils
roipeker 2021... some utility functions to layout DisplayObjects: [...]
LengthLimitingTextInputFormatter
A TextInputFormatter that prevents the insertion of more characters than allowed. [...]
LicenseEntry
A license that covers part of the application's software or assets, to show in an interface such as the LicensePage. [...]
LicenseEntryWithLineBreaks
Variant of LicenseEntry for licenses that separate paragraphs with blank lines and that hard-wrap text within paragraphs. Lines that begin with one or more space characters are also assumed to introduce new paragraphs, unless they start with the same number of spaces as the previous line, in which case it's assumed they are a continuation of an indented paragraph. [...]
LicenseParagraph
A string that represents one paragraph in a LicenseEntry. [...]
LicenseRegistry
A registry for packages to add licenses to, so that they can be displayed together in an interface such as the LicensePage. [...]
Listenable
An object that maintains a list of listeners. [...]
ListUtils
LocalKey
A key that is not a GlobalKey. [...]
LogicalKeyboardKey
A class with static values that describe the keys that are returned from RawKeyEvent.logicalKey. [...]
Math
MathUtils
MatrixUtils
MessageCodec<T>
A message encoding/decoding mechanism. [...]
MessageProperty
Debugging message displayed like a property. [...]
MethodCall
An command object representing the invocation of a named method.
MethodChannel
A named channel for communicating with platform plugins using asynchronous method calls. [...]
MethodCodec
A codec for method calls and enveloped results. [...]
MouseInputData
MPS
Concept taken from the JS library. it has duplicated implemntation between [...]
MPSBuilder<T>
MPSBuilder allows you to subscribe to multiple MinPubSub topics. GraphX has a global mts object that you can use to easily publish data or events to topics. This Widget listens the topics List and rebuilds when an event is dispatched in any of them. [...]
MPSEvent<T>
Model object passed as 2nd argument in MPSBuilder.builder.
NetworkAssetBundle
An AssetBundle that loads resources over the network. [...]
ObjectFlagProperty<T>
A property where the important diagnostic information is primarily whether the value is present (non-null) or absent (null), rather than the actual value of the property itself. [...]
ObserverList<T>
A list optimized for the observer pattern when there are small numbers of observers. [...]
OptionalMethodChannel
A MethodChannel that ignores missing platform plugins. [...]
PainterUtils
PartialStackFrame
Partial information from a stack frame for stack filtering purposes. [...]
PercentProperty
Property which clamps a double to between 0 and 1 and formats it as a percentage.
PhysicalKeyboardKey
A class with static values that describe the keys that are returned from RawKeyEvent.physicalKey. [...]
PlatformAssetBundle
An AssetBundle that loads resources using platform messages.
PlatformViewController
An interface for a controlling a single platform view. [...]
PlatformViewsRegistry
A registry responsible for generating unique identifier for platform views. [...]
PlatformViewsService
Provides access to the platform views service. [...]
PointerEventData
PointerManager<T extends PointerEventData>
PropTween
RawFloatingCursorPoint
The current state and position of the floating cursor.
RawKeyboard
An interface for listening to raw key events. [...]
RawKeyDownEvent
The user has pressed a key on the keyboard. [...]
RawKeyEvent
Defines the interface for raw key events. [...]
RawKeyEventData
Base class for platform-specific key event data. [...]
RawKeyEventDataAndroid
Platform-specific key event data for Android. [...]
RawKeyEventDataFuchsia
Platform-specific key event data for Fuchsia. [...]
RawKeyEventDataIos
Platform-specific key event data for iOS. [...]
RawKeyEventDataLinux
Platform-specific key event data for Linux. [...]
RawKeyEventDataMacOs
Platform-specific key event data for macOS. [...]
RawKeyEventDataWeb
Platform-specific key event data for Web. [...]
RawKeyEventDataWindows
Platform-specific key event data for Windows. [...]
RawKeyUpEvent
The user has released a key on the keyboard. [...]
ReadBuffer
Read-only buffer for reading sequentially from a ByteData instance. [...]
RepetitiveStackFrameFilter
A StackFilter that filters based on repeating lists of PartialStackFrames. [...]
ResourceLoader
RestorationBucket
A RestorationBucket holds pieces of the restoration data that a part of the application needs to restore its state. [...]
RestorationManager
Manages the restoration data in the framework and synchronizes it with the engine. [...]
SceneBuilderWidget
SceneConfig
SceneController
Entry point of GraphX world. A SceneController manages (up to) 2 SceneRoots: back and front which correlates to CustomPainter.painter and CustomPainter.foregroundPainter. It takes care of the initialization and holding the references of the Painters used by SceneBuilderWidget.
ScenePainter
Signal
StackFilter
A class that filters stack frames for additional filtering on FlutterError.defaultStackFilter.
StackFrame
A object representation of a frame from a stack trace. [...]
Stage
The Stage class represents the main drawing area. The Stage represents the entire area where a GraphX ScenePainter content is shown. Each ScenePainter object has a corresponding Stage object, owned by a SceneController, which can contain a back and front SceneLayers. [...]
StandardMessageCodec
MessageCodec using the Flutter standard binary encoding. [...]
StandardMethodCodec
MethodCodec using the Flutter standard binary encoding. [...]
StringCodec
MessageCodec with UTF-8 encoded String messages. [...]
StringProperty
Property which encloses its string value in quotes. [...]
StringUtils
Summary
An annotation that provides a short description of a class for use in an index. [...]
SurfaceAndroidViewController
Controls an Android view by rendering to an AndroidViewSurface. [...]
SvgData
proxy class to flutter_svg
SynchronousFuture<T>
A Future whose then implementation calls the callback immediately. [...]
SystemChannels
Platform channels used by the Flutter system.
SystemChrome
Controls specific aspects of the operating system's graphical interface and how it interacts with the application.
SystemMouseCursor
A mouse cursor that is natively supported on the platform that the application is running on. [...]
SystemNavigator
Controls specific aspects of the system navigation stack.
SystemSound
Provides access to the library of short system specific sounds for common tasks.
SystemUiOverlayStyle
Specifies a preference for the style of the system overlays. [...]
SystemUtils
TextEditingValue
The current text, selection, and composing state for editing a run of text.
TextInput
An low-level interface to the system's text input control. [...]
TextInputClient
An interface to receive information from TextInput. [...]
TextInputConfiguration
Controls the visual appearance of the text input control. [...]
TextInputConnection
An interface for interacting with a text input control. [...]
TextInputFormatter
A TextInputFormatter can be optionally injected into an EditableText to provide as-you-type validation and formatting of the text being edited. [...]
TextInputType
The type of information for which to optimize the text input control. [...]
TextPosition
A position in a string of text. [...]
TextRange
A range of characters in a string of text.
TextSelection
A range of text that represents a selection.
TextSelectionDelegate
An interface for manipulating the selection, to be used by the implementor of the toolbar widget.
TextTreeConfiguration
Configuration specifying how a particular DiagnosticsTreeStyle should be rendered as text art. [...]
TextTreeRenderer
Renderer that creates ASCII art representations of trees of DiagnosticsNode objects. [...]
TextureAndroidViewController
Controls an Android view that is rendered to a texture. [...]
UiKitViewController
Controls an iOS UIView. [...]
Unicode
Constants for useful Unicode characters. [...]
ValueKey<T>
A key that uses a value of a particular type to identify itself. [...]
ValueListenable<T>
An interface for subclasses of Listenable that expose a value. [...]
ValueNotifier<T>
A ChangeNotifier that holds a single value. [...]
WhitelistingTextInputFormatter
Old name for FilteringTextInputFormatter.allow.
WriteBuffer
Write-only buffer for incrementally building a ByteData instance. [...]

Mixins

AutofillScopeMixin
A partial implementation of AutofillScope. [...]
Diagnosticable
A mixin class for providing string and DiagnosticsNode debug representations describing the properties of an object. [...]
DiagnosticableTreeMixin
A mixin that helps dump string and DiagnosticsNode representations of trees. [...]
DisplayListSignalsMixin
DisplayMasking
EventDispatcherMixin
GTextureUtils
GTweenable
Base interface used by GTween to animate properties. As Flutter has no reflection, we need this class to get/set properties on target objects.
MouseSignalsMixin<T extends MouseInputData>
use mouse signal for now.
PointerSignalsMixin<T extends PointerEventData>
Pool
RenderSignalMixin
RenderUtilMixin
ResizeSignalMixin
ServicesBinding
Listens for platform messages and directs them to the defaultBinaryMessenger. [...]
SingleValueTweenMixin
StageMouseSignalsMixin<T extends MouseInputData>
use mouse signal for now.
TickerSignalMixin

Extensions

ExtSkiaPaintCustom
GTweenBlurFilterExt
GTweenColorExt
GTweenDiplayObjectExt
GTweenDoubleExt
GTweenDropShadowFilterExt
GTweenGlowFilterExt
GTweenIntExt
GTweenListExt
GTweenMap2Ext
GTweenMapExt
GTweenNumExt
GTweenPointExt
GTweenRectExt
MyKeyEventExt

Constants

factory → const _Factory
Used to annotate an instance or static method m. Indicates that m must either be abstract or must return a newly allocated object or null. In addition, every method that either implements or overrides m is implicitly annotated with this same annotation. [...]
_Factory()
immutable → const Immutable
Used to annotate a class C. Indicates that C and all subtypes of C must be immutable. [...]
kAndroidNumPadMap → const Map<int, LogicalKeyboardKey>
A map of Android key codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<int, LogicalKeyboardKey>{154 : LogicalKeyboardKey.numpadDivide, 155 : LogicalKeyboardKey.numpadMultiply, 156 : LogicalKeyboardKey.numpadSubtract, 157 : LogicalKeyboardKey.numpadAdd, 145 : Logic…
kAndroidToLogicalKey → const Map<int, LogicalKeyboardKey>
Maps Android-specific key codes to the matching LogicalKeyboardKey.
<int, LogicalKeyboardKey>{0 : LogicalKeyboardKey.none, 223 : LogicalKeyboardKey.sleep, 224 : LogicalKeyboardKey.wakeUp, 29 : LogicalKeyboardKey.keyA, 30 : LogicalKeyboardKey.keyB, 31 : LogicalKe…
kAndroidToPhysicalKey → const Map<int, PhysicalKeyboardKey>
Maps Android-specific scan codes to the matching PhysicalKeyboardKey.
<int, PhysicalKeyboardKey>{205 : PhysicalKeyboardKey.suspend, 142 : PhysicalKeyboardKey.sleep, 143 : PhysicalKeyboardKey.wakeUp, 30 : PhysicalKeyboardKey.keyA, 48 : PhysicalKeyboardKey.keyB, 46 …
kColorBlack → const Color
Color(4278190080)
kColorCyan → const Color
Color(4278255615)
kColorMagenta → const Color
Color(4294902015)
kColorRed → const Color
Color(4278255360)
kColorTransparent → const Color
Color(0)
kColorWhite → const Color
Color(4294967295)
kDebugMode → const bool
A constant that is true if the application was compiled in debug mode. [...]
!kReleaseMode && !kProfileMode
kFuchsiaToLogicalKey → const Map<int, LogicalKeyboardKey>
Maps Fuchsia-specific IDs to the matching LogicalKeyboardKey.
<int, LogicalKeyboardKey>{4294967296 : LogicalKeyboardKey.none, 4294967312 : LogicalKeyboardKey.hyper, 4294967313 : LogicalKeyboardKey.superKey, 4294967315 : LogicalKeyboardKey.fnLock, 429496731…
kFuchsiaToPhysicalKey → const Map<int, PhysicalKeyboardKey>
Maps Fuchsia-specific USB HID Usage IDs to the matching PhysicalKeyboardKey.
<int, PhysicalKeyboardKey>{0 : PhysicalKeyboardKey.none, 16 : PhysicalKeyboardKey.hyper, 17 : PhysicalKeyboardKey.superKey, 19 : PhysicalKeyboardKey.fnLock, 20 : PhysicalKeyboardKey.suspend, 21 …
kGlfwNumpadMap → const Map<int, LogicalKeyboardKey>
A map of GLFW key codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<int, LogicalKeyboardKey>{331 : LogicalKeyboardKey.numpadDivide, 332 : LogicalKeyboardKey.numpadMultiply, 334 : LogicalKeyboardKey.numpadAdd, 321 : LogicalKeyboardKey.numpad1, 322 : LogicalKeybo…
kGlfwToLogicalKey → const Map<int, LogicalKeyboardKey>
Maps GLFW-specific key codes to the matching LogicalKeyboardKey.
<int, LogicalKeyboardKey>{65 : LogicalKeyboardKey.keyA, 66 : LogicalKeyboardKey.keyB, 67 : LogicalKeyboardKey.keyC, 68 : LogicalKeyboardKey.keyD, 69 : LogicalKeyboardKey.keyE, 70 : LogicalKeyboa…
kGtkNumpadMap → const Map<int, LogicalKeyboardKey>
A map of GTK key codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<int, LogicalKeyboardKey>{65455 : LogicalKeyboardKey.numpadDivide, 65450 : LogicalKeyboardKey.numpadMultiply, 65453 : LogicalKeyboardKey.numpadSubtract, 65451 : LogicalKeyboardKey.numpadAdd, 654…
kGtkToLogicalKey → const Map<int, LogicalKeyboardKey>
Maps GTK-specific key codes to the matching LogicalKeyboardKey.
<int, LogicalKeyboardKey>{65517 : LogicalKeyboardKey.hyper, 65518 : LogicalKeyboardKey.hyper, 65515 : LogicalKeyboardKey.superKey, 65516 : LogicalKeyboardKey.superKey, 269025191 : LogicalKeyboar…
kIosNumPadMap → const Map<int, LogicalKeyboardKey>
A map of iOS key codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<int, LogicalKeyboardKey>{84 : LogicalKeyboardKey.numpadDivide, 85 : LogicalKeyboardKey.numpadMultiply, 86 : LogicalKeyboardKey.numpadSubtract, 87 : LogicalKeyboardKey.numpadAdd, 89 : LogicalKey…
kIosToPhysicalKey → const Map<int, PhysicalKeyboardKey>
Maps iOS-specific key code values representing PhysicalKeyboardKey. [...]
<int, PhysicalKeyboardKey>{0 : PhysicalKeyboardKey.usbReserved, 1 : PhysicalKeyboardKey.usbErrorRollOver, 2 : PhysicalKeyboardKey.usbPostFail, 3 : PhysicalKeyboardKey.usbErrorUndefined, 4 : Phys…
kIsWeb → const bool
A constant that is true if the application was compiled to run on the web. [...]
identical(0, 0.0)
kLinuxToPhysicalKey → const Map<int, PhysicalKeyboardKey>
Maps XKB specific key code values representing PhysicalKeyboardKey.
<int, PhysicalKeyboardKey>{641 : PhysicalKeyboardKey.privacyScreenToggle, 150 : PhysicalKeyboardKey.sleep, 151 : PhysicalKeyboardKey.wakeUp, 235 : PhysicalKeyboardKey.displayToggleIntExt, 38 : P…
kMacOsFunctionKeyMap → const Map<int, LogicalKeyboardKey>
A map of macOS key codes which are numbered function keys, so that they can be excluded when asking "is the Fn modifier down?".
<int, LogicalKeyboardKey>{122 : LogicalKeyboardKey.f1, 120 : LogicalKeyboardKey.f2, 99 : LogicalKeyboardKey.f3, 118 : LogicalKeyboardKey.f4, 96 : LogicalKeyboardKey.f5, 97 : LogicalKeyboardKey.f…
kMacOsNumPadMap → const Map<int, LogicalKeyboardKey>
A map of macOS key codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<int, LogicalKeyboardKey>{75 : LogicalKeyboardKey.numpadDivide, 67 : LogicalKeyboardKey.numpadMultiply, 78 : LogicalKeyboardKey.numpadSubtract, 69 : LogicalKeyboardKey.numpadAdd, 83 : LogicalKey…
kMacOsToPhysicalKey → const Map<int, PhysicalKeyboardKey>
Maps macOS-specific key code values representing PhysicalKeyboardKey. [...]
<int, PhysicalKeyboardKey>{0 : PhysicalKeyboardKey.keyA, 11 : PhysicalKeyboardKey.keyB, 8 : PhysicalKeyboardKey.keyC, 2 : PhysicalKeyboardKey.keyD, 14 : PhysicalKeyboardKey.keyE, 3 : PhysicalKey…
kMaxUnsignedSMI → const int
The largest SMI value. [...]
_bitfield.kMaxUnsignedSMI
kNoDefaultValue → const _NoDefaultValue
Marker object indicating that a DiagnosticsNode has no default value.
_NoDefaultValue()
kProfileMode → const bool
A constant that is true if the application was compiled in profile mode. [...]
bool.fromEnvironment('dart.vm.profile', defaultValue: false)
kReleaseMode → const bool
A constant that is true if the application was compiled in release mode. [...]
bool.fromEnvironment('dart.vm.product', defaultValue: false)
kWebNumPadMap → const Map<String, LogicalKeyboardKey>
A map of Web KeyboardEvent codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<String, LogicalKeyboardKey>{'NumpadDivide' : LogicalKeyboardKey.numpadDivide, 'NumpadMultiply' : LogicalKeyboardKey.numpadMultiply, 'NumpadSubtract' : LogicalKeyboardKey…
kWebToLogicalKey → const Map<String, LogicalKeyboardKey>
Maps Web KeyboardEvent codes to the matching LogicalKeyboardKey.
<String, LogicalKeyboardKey>{'None' : LogicalKeyboardKey.none, 'Hyper' : LogicalKeyboardKey.hyper, 'Super' : LogicalKeyboardKey.superKey, 'FnLock' : LogicalKeyboa…
kWebToPhysicalKey → const Map<String, PhysicalKeyboardKey>
Maps Web KeyboardEvent codes to the matching PhysicalKeyboardKey.
<String, PhysicalKeyboardKey>{'None' : PhysicalKeyboardKey.none, 'Hyper' : PhysicalKeyboardKey.hyper, 'Super' : PhysicalKeyboardKey.superKey, 'FnLock' : PhysicalK…
kWindowsNumPadMap → const Map<int, LogicalKeyboardKey>
A map of Windows KeyboardEvent codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.
<int, LogicalKeyboardKey>{111 : LogicalKeyboardKey.numpadDivide, 106 : LogicalKeyboardKey.numpadMultiply, 109 : LogicalKeyboardKey.numpadSubtract, 107 : LogicalKeyboardKey.numpadAdd, 97 : Logica…
kWindowsToLogicalKey → const Map<int, LogicalKeyboardKey>
Maps Windows KeyboardEvent codes to the matching LogicalKeyboardKey.
<int, LogicalKeyboardKey>{95 : LogicalKeyboardKey.sleep, 65 : LogicalKeyboardKey.keyA, 66 : LogicalKeyboardKey.keyB, 67 : LogicalKeyboardKey.keyC, 68 : LogicalKeyboardKey.keyD, 69 : LogicalKeybo…
kWindowsToPhysicalKey → const Map<int, PhysicalKeyboardKey>
Maps Windows KeyboardEvent codes to the matching PhysicalKeyboardKey.
<int, PhysicalKeyboardKey>{57439 : PhysicalKeyboardKey.sleep, 57443 : PhysicalKeyboardKey.wakeUp, 255 : PhysicalKeyboardKey.usbErrorRollOver, 252 : PhysicalKeyboardKey.usbPostFail, 30 : Physical…
mustCallSuper → const _MustCallSuper
Used to annotate an instance method m. Indicates that every invocation of a method that overrides m must also invoke m. In addition, every method that overrides m is implicitly annotated with this same annotation. [...]
_MustCallSuper()
nonVirtual → const _NonVirtual
Used to annotate an instance member (method, getter, setter, operator, or field) m in a class C or mixin M. Indicates that m should not be overridden in any classes that extend or mixin C or M. [...]
_NonVirtual()
optionalTypeArgs → const _OptionalTypeArgs
Used to annotate a class, mixin, or extension declaration C. Indicates that any type arguments declared on C are to be treated as optional. Tools such as the analyzer and linter can use this information to suppress warnings that would otherwise require type arguments on C to be provided.
_OptionalTypeArgs()
precisionErrorTolerance → const double
The epsilon of tolerable double precision error. [...]
1e-10
protected → const _Protected
Used to annotate an instance member (method, getter, setter, operator, or field) m in a class C. If the annotation is on a field it applies to the getter, and setter if appropriate, that are induced by the field. Indicates that m should only be invoked from instance methods of C or classes that extend, implement or mix in C, either directly or indirectly. Additionally indicates that m should only be invoked on this, whether explicitly or implicitly. [...]
_Protected()
required → const Required
Used to annotate a named parameter p in a method or function f. Indicates that every invocation of f must include an argument corresponding to p, despite the fact that p would otherwise be an optional parameter. [...]
timelineArgumentsIndicatingLandmarkEvent → const Map<String, String>
Argument passed to Timeline events in order to cause those events to be shown in the developer-centric version of the Observatory Timeline. [...]
<String, String>{'mode' : 'basic'}
visibleForTesting → const _VisibleForTesting
Used to annotate a declaration that was made public, so that it is more visible than otherwise necessary, to make code testable. [...]
_VisibleForTesting()

Properties

activeDevToolsServerAddress String
The address for the active DevTools server used for debugging this application.
read / write
compute → _ComputeImpl
Spawn an isolate, run callback on that isolate, passing it message, and (eventually) return the value returned by callback. [...]
final
connectedVmServiceUri String
The uri for the connected vm service protocol.
read / write
dashedTextConfiguration TextTreeConfiguration
Identical to sparseTextConfiguration except that the lines connecting parent to children are dashed. [...]
final
debugBrightnessOverride Brightness
A setting that can be used to override the platform Brightness exposed from BindingBase.platformDispatcher. [...]
read / write
debugDefaultTargetPlatformOverride TargetPlatform
Override the defaultTargetPlatform. [...]
read / write
debugDoublePrecision int
Configure debugFormatDouble using num.toStringAsPrecision. [...]
read / write
debugInstrumentationEnabled bool
Boolean value indicating whether debugInstrumentAction will instrument actions in debug builds.
read / write
debugPrint DebugPrintCallback
Prints a message to the console, which you can access using the "flutter" tool's "logs" command ("flutter logs"). [...]
read / write
debugPrintDone Future<void>
A Future that resolves when there is no longer any buffered content being printed by debugPrintThrottled (which is the default implementation for debugPrint, which is used to report errors to the console).
read-only
defaultBinaryMessenger BinaryMessenger
The default instance of BinaryMessenger. [...]
@Deprecated('Use ServicesBinding.instance.defaultBinaryMessenger instead. ' 'This feature was deprecated after v1.6.5.'), read-only
defaultTargetPlatform TargetPlatform
The TargetPlatform that matches the platform on which the framework is currently executing. [...]
read-only
denseTextConfiguration TextTreeConfiguration
Dense text tree configuration that minimizes horizontal whitespace. [...]
final
errorPropertyTextConfiguration TextTreeConfiguration
Render the name on a line followed by the body and properties on the next line omitting the children. [...]
final
errorTextConfiguration TextTreeConfiguration
Configuration that draws a box around a node ignoring the connection to the parents. [...]
final
flatTextConfiguration TextTreeConfiguration
Whitespace only configuration where children are not indented. [...]
final
mps MPS
final
platformViewsRegistry PlatformViewsRegistry
The PlatformViewsRegistry responsible for generating unique identifiers for platform views.
final
rootBundle AssetBundle
The AssetBundle from which this application was loaded. [...]
final
shallowTextConfiguration TextTreeConfiguration
Render a node on multiple lines omitting children. [...]
final
singleLineTextConfiguration TextTreeConfiguration
Render a node as a single line omitting children. [...]
final
sparseTextConfiguration TextTreeConfiguration
Default text tree configuration. [...]
final
transitionTextConfiguration TextTreeConfiguration
Configuration that draws a box around a leaf node. [...]
final
whitespaceTextConfiguration TextTreeConfiguration
Whitespace only configuration where children are consistently indented two spaces. [...]
final

Functions

binarySearch<T extends Comparable<Object>>(List<T> sortedList, T value) int
Returns the position of value in the sortedList, if it exists. [...]
consolidateHttpClientResponseBytes(HttpClientResponse response, {bool autoUncompress = true, BytesReceivedCallback onBytesReceived}) Future<Uint8List>
Efficiently converts the response body of an HttpClientResponse into a Uint8List. [...]
convertFromDouble(Object originalValue, double val) Object
convertToDouble(Object val) double
debugAssertAllFoundationVarsUnset(String reason, {DebugPrintCallback debugPrintOverride = debugPrintThrottled}) bool
Returns true if none of the foundation library debug variables have been changed. [...]
debugFormatDouble(double value) String
Formats a double to have standard formatting. [...]
debugInstrumentAction<T>(String description, Future<T> action()) Future<T>
Runs the specified action, timing how long the action takes in debug builds when debugInstrumentationEnabled is true. [...]
debugIsSerializableForRestoration(Object object) bool
Returns true when the provided object is serializable for state restoration. [...]
debugPrintStack({StackTrace stackTrace, String label, int maxFrames}) → void
Dump the stack to the console using debugPrint and FlutterError.defaultStackFilter. [...]
debugPrintSynchronously(String message, {int wrapWidth}) → void
Alternative implementation of debugPrint that does not throttle. Used by tests.
debugPrintThrottled(String message, {int wrapWidth}) → void
Implementation of debugPrint that throttles messages. This avoids dropping messages on platforms that rate-limit their logging (for example, Android).
debugWordWrap(String message, int width, {String wrapIndent = ''}) Iterable<String>
Wraps the given string at the given width. [...]
deg2rad(double deg) double
describeEnum(Object enumEntry) String
Returns a short description of an enum value. [...]
describeIdentity(Object object) String
Returns a summary of the runtime type and hash code of object. [...]
getTimer() int
httpGet(String url, {Map<String, String> headers}) Future<Uint8List>
Fetches an HTTP resource from the specified url using the specified headers.
lerpDuration(Duration a, Duration b, double t) Duration
Linearly interpolate between two Durations.
listEquals<T>(List<T> a, List<T> b) bool
Compares two lists for deep equality. [...]
mapEquals<T, U>(Map<T, U> a, Map<T, U> b) bool
Compares two maps for deep equality. [...]
mergeSort<T>(List<T> list, {int start = 0, int end, int compare(T, T)}) → void
Sorts a list between start (inclusive) and end (exclusive) using the merge sort algorithm. [...]
objectRuntimeType(Object object, String optimizedValue) String
Framework code should use this method in favor of calling toString on Object.runtimeType. [...]
rad2deg(double rad) double
setEquals<T>(Set<T> a, Set<T> b) bool
Compares two sets for deep equality. [...]
shortHash(Object object) String
Returns a 5 character long hexadecimal string generated from Object.hashCode's 20 least-significant bits.
trace(Object arg1, [Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10]) → void
global callback that replaces print() in a similar way ActionScript trace works. It has up to 10 arguments slots so you can pass any type of object to be printed. The way trace() shows output in the console can be defined with traceConfig().
traceConfig({String customTag, int tagPaddingCount = 0, String tagPaddingChar = ' ', bool showFilename = false, bool showLinenumber = false, bool showClassname = false, bool showMethodname = false, bool showOutsideTag = false, String argsSeparator = ', '}) → void
Configure trace outputs for debug console. showLinenumber only works if showFilename is true. tagPaddingCount should be applied manually if you wanna have a cleaner tabulated view.

Enums

Brightness
Describes the contrast of a theme or color palette.
Culling
DebugBoundsMode
DeviceOrientation
Specifies a particular device orientation. [...]
DiagnosticLevel
The various priority levels used to filter which diagnostics are shown and omitted. [...]
DiagnosticsTreeStyle
Styles for displaying a node in a DiagnosticsNode tree. [...]
FloatingCursorDragState
A floating cursor state the user has induced by force pressing an iOS keyboard.
GradientType
KeyboardSide
An enum describing the side of the keyboard that a key is on, to allow discrimination between which key is pressed (e.g. the left or right SHIFT key). [...]
KeyEventType
MaxLengthEnforcement
MaxLengthEnforcement.enforced versus [...]
ModifierKey
An enum describing the type of modifier key that is being pressed. [...]
MouseInputType
/ MOUSE INPUT DATA.
PointerEventType
over, out are mouse
SmartDashesType
Indicates how to handle the intelligent replacement of dashes in text input. [...]
SmartQuotesType
Indicates how to handle the intelligent replacement of quotes in text input. [...]
SystemSoundType
A sound provided by the system. [...]
SystemUiOverlay
Specifies a system overlay at a particular location. [...]
TargetPlatform
The platform that user interaction should adapt to target. [...]
TextAffinity
A way to disambiguate a TextPosition when its offset could match two different locations in the rendered string. [...]
TextCapitalization
Configures how the platform keyboard will select an uppercase or lowercase keyboard. [...]
TextInputAction
An action the user has requested the text input control to perform. [...]

Typedefs

AsyncCallback() Future<void>
Signature of callbacks that have no arguments and return no data, but that return a Future to indicate when their work is complete. [...]
AsyncValueGetter<T>() Future<T>
Signature for callbacks that are to asynchronously report a value on demand. [...]
AsyncValueSetter<T>(T value) Future<void>
Signature for callbacks that report that a value has been set and return a Future that completes when the value has been saved. [...]
BytesReceivedCallback(int cumulative, int? total) → void
Signature for getting notified when chunks of bytes are received while consolidating the bytes of an HttpClientResponse into a Uint8List. [...]
ComputeCallback<Q, R>(Q message) FutureOr<R>
Signature for the callback passed to compute. [...]
ComputePropertyValueCallback<T>() → T
Signature for computing the value of a property. [...]
DebugPrintCallback(String? message, {int? wrapWidth}) → void
Signature for debugPrint implementations.
DiagnosticPropertiesTransformer(Iterable<DiagnosticsNode> properties) Iterable<DiagnosticsNode>
Signature for DiagnosticPropertiesBuilder transformer.
EaseDef(double e) double
EaseFunction(double e) double
EventSignalCallback<T>(T event) → void
--- EVENT SIGNAL
FlutterExceptionHandler(FlutterErrorDetails details) → void
Signature for FlutterError.onError handler.
GTweenGetProp<T>() → T
GTweenSetProp<T>(T targetValue) → void
GxAnimatableBuilder(Object target) GTweenable
InformationCollector() Iterable<DiagnosticsNode>
Signature for FlutterErrorDetails.informationCollector callback and other callbacks that collect information describing an error.
IterableFilter<T>(Iterable<T> input) Iterable<T>
Signature for callbacks that filter an iterable.
LicenseEntryCollector() Stream<LicenseEntry>
Signature for callbacks passed to LicenseRegistry.addLicense.
MessageHandler(ByteData? message) Future<ByteData>
A function which takes a platform message and asynchronously returns an encoded response.
MPSFunctionBuilder<T>(BuildContext context, MPSEvent<T> event, Widget child) Widget
typedef for MPSBuilder.builder().
PlatformViewCreatedCallback(int id) → void
Callback signature for when a platform view was created. [...]
PointTransformer(Offset position) Offset
Converts a given point from the global coordinate system in logical pixels to the local coordinate system for a box. [...]
RawKeyEventHandler(RawKeyEvent event) bool
A callback type used by RawKeyboard.keyEventHandler to send key events to a handler that can determine if the key has been handled or not. [...]
ServiceExtensionCallback(Map<String, String> parameters) Future<Map<String, dynamic>>
Signature for service extensions. [...]
SortChildrenCallback(GDisplayObject object1, GDisplayObject object2) int
StackTraceDemangler(StackTrace details) StackTrace
Signature for a function that demangles StackTrace objects into a format that can be parsed by StackFrame. [...]
TextInputFormatFunction(TextEditingValue oldValue, TextEditingValue newValue) TextEditingValue
Function signature expected for creating custom TextInputFormatter shorthands via TextInputFormatter.withFunction.
ValueChanged<T>(T value) → void
Signature for callbacks that report that an underlying value has changed. [...]
ValueGetter<T>() → T
Signature for callbacks that are to report a value on demand. [...]
ValueSetter<T>(T value) → void
Signature for callbacks that report that a value has been set. [...]
VoidCallback() → void
Signature of callbacks that have no arguments and return no data.

Exceptions / Errors

FlutterError
Error class used to report Flutter-specific assertion failures and contract violations. [...]
MissingPluginException
Thrown to indicate that a platform interaction failed to find a handling plugin. [...]
PlatformException
Thrown to indicate that a platform interaction failed in the platform plugin. [...]