composables/define_widget/composables/use_widget_size library
Functions
-
useWidgetSize(
GlobalKey< State< key) → UseWidgetSizeReturnStatefulWidget> > - A hook that provides the size of a widget.
Typedefs
-
UseWidgetSizeReturn
= ({Ref<
double?> height, GlobalKey<State< key, Ref<StatefulWidget> >double?> width}) - Return type for useWidgetSize.