TestDelta class

Constructors

TestDelta(BuildContext context)
factory

Properties

bottomNavSize double
This is the space of the area where is android OS Navigation bottoms available like, BACK,CURRENT,OPTION
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
no setter
mediaQuery MediaQueryData
Establishes a subtree in which media queries resolve to the given data. For example, to learn the size of the current media (e.g., the window containing your app), you can use MediaQuery.sizeOf: MediaQuery.sizeOf(context). Querying the current media using specific methods (for example, MediaQuery.sizeOf and MediaQuery.paddingOf) will cause your widget to rebuild automatically whenever the property you query changes. On the other hand, querying using MediaQuery.of will cause your widget to rebuild automatically whenever any field of the MediaQueryData changes (e.g., if the user rotates their device). Therefore, if you are only concerned with one or a few fields of MediaQueryData, prefer using the specific methods (for example: MediaQuery.sizeOf and MediaQuery.paddingOf). If no MediaQuery is in scope then the series of methods like MediaQuery.of and MediaQuery.sizeOf will throw an exception. Alternatively, the "maybe-" variant methods (such as MediaQuery.maybeOf and MediaQuery.maybeSizeOf) can be used, which returns null instead of throwing if no MediaQuery is in scope
no setter
orientation Orientation
The orientation of the media (e.g., whether the device is in landscape or portrait mode).
no setter
platform TargetPlatform
The platform the material widgets should adapt to target. Defaults to the current platform, as exposed by defaultTargetPlatform. This should be used in order to style UI elements according to platform conventions. Widgets from the Delta library should use this getter (via Delta.data) to determine the current platform for the purpose of emulating the platform behavior (e.g. scrolling or haptic effects). Widgets and render objects at lower layers that try to emulate the underlying platform can depend on defaultTargetPlatform directly, or may require that the target platform be provided as an argument. The dart:io.Platform object should only be used directly when it's critical to actually know the current platform, without any overrides possible (for example, when a system API is about to be called). In a test environment, the platform returned is TargetPlatform.android regardless of the host platform. (Android was chosen because the tests were originally written assuming Android-like behavior, and we added platform adaptations for other platforms later). Tests can check behavior for other platforms by setting the platform of the Theme explicitly to another TargetPlatform value, or by setting debugDefaultTargetPlatformOverride. Determines the defaults for typography and materialTapTargetSize.
no setter
primaryColor Color
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The number of font pixels for each logical pixel. For example, if the text scale factor is 1.5, text will be 50% larger than the specified font size. See also: MediaQuery.textScaleFactorOf, a method to find and depend on the textScaleFactor defined for a BuildContext
no setter
statusBarSize double
The offset from the top.
no setter
textTheme TextTheme
Text with a color that contrasts with the card and canvas colors.
no setter
theme ThemeData
Defines the configuration of the overall visual Theme for a MaterialApp or a widget subtree within the app.
no setter
width double
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

data TestDelta?
getter/setter pair