composables/define_widget/composables/use_widget_size library

Functions

useWidgetSize(GlobalKey<State<StatefulWidget>> key) UseWidgetSizeReturn
A hook that provides the size of a widget.

Typedefs

UseWidgetSizeReturn = ({Ref<double?> height, GlobalKey<State<StatefulWidget>> key, Ref<double?> width})
Return type for useWidgetSize.