reset method
Resets all test values to the defaults for this view.
See also:
- resetDevicePixelRatio to reset devicePixelRatio specifically
- resetDisplayFeatures to reset displayFeatures specifically
- resetPadding to reset padding specifically
- resetPhysicalSize to reset physicalSize specifically
- resetSystemGestureInsets to reset systemGestureInsets specifically
- resetViewInsets to reset viewInsets specifically
- resetViewPadding to reset viewPadding specifically
- resetGestureSettings to reset gestureSettings specifically
Implementation
void reset() {
resetDevicePixelRatio();
resetDisplayFeatures();
resetPadding();
resetPhysicalSize();
// resetPhysicalConstraints is implicitly called by resetPhysicalSize.
resetSystemGestureInsets();
resetViewInsets();
resetViewPadding();
resetGestureSettings();
}