onDidReset property

  1. @override
  2. @visibleForTesting
Callback? get onDidReset
override

A callback intended for use only within internal unit tests that is called when ResizeSensorComponent._reset is called.

Implementation

@override
@visibleForTesting
Callback? get onDidReset =>
    (props[_$key__onDidReset__ResizeSensorProps] ?? null) as Callback?;
  1. @override
  2. @visibleForTesting
set onDidReset (Callback? value)
override

A callback intended for use only within internal unit tests that is called when ResizeSensorComponent._reset is called.

Implementation

@override
@visibleForTesting
set onDidReset(Callback? value) =>
    props[_$key__onDidReset__ResizeSensorProps] = value;