ResizeSensorPropsMixin mixin
- Mixin applications
-
- @Deprecated('Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.')
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isFlexChild
↔ bool?
-
Whether the ResizeSensor is a child of a flex item. Necessary to apply the correct styling.
getter/setter pair
-
isFlexContainer
↔ bool?
-
Whether the ResizeSensor is a flex container. Necessary to apply the correct styling.
getter/setter pair
-
onDetachedMountCheck
↔ BoolCallback?
-
A callback that returns a
bool that indicates whether the ResizeSensor was detached from the DOM
when it first mounted.
getter/setter pair
-
onDidReset
↔ Callback?
-
A callback intended for use only within internal unit tests that is called when
ResizeSensorComponent._reset
is called.
getter/setter pair
-
onInitialize
↔ ResizeSensorHandler?
-
A function invoked with a
ResizeSensorEvent argument when the resize sensor is initialized.
getter/setter pair
-
onResize
↔ ResizeSensorHandler?
-
A function invoked with a
ResizeSensorEvent argument when the ResizeSensor
resizes, either due to its parent or children resizing.
getter/setter pair
-
props
→ Map
-
no setter
-
quickMount
↔ bool?
-
Whether quick-mount mode is enabled, which minimizes layouts caused by accessing element dimensions
during initialization, allowing the component to mount faster.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shrink
↔ bool?
-
Whether the ResizeSensor should shrink to the size of its child.
getter/setter pair
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited