flutter_widget_offset library

Classes

OffsetChangeObserver
OffsetChangeObserver will observe the offset status of the widget.
OffsetDetector
OffsetDetector is a widget that encapsulates OffsetChangeObserver.
OffsetDetectorController
OffsetDetectorController is used to control and notify the OffsetDetector widget.

Typedefs

KeyboardStateCallback = void Function(bool state)
KeyboardStateCallback is the callback of the soft keyboard display state.
OffsetChangedCallback = void Function(Size size, EdgeInsets offset, EdgeInsets rootPadding)
OffsetChangedCallback is the method called when the widget is offset. It has three parameters, size, offset and rootPadding.