widget_size 0.0.1 copy "widget_size: ^0.0.1" to clipboard
widget_size: ^0.0.1 copied to clipboard

outdated

A widget to calculate it's size after being built and attached to a widget tree

widget_size #

pub package

A widget to calculate it's size after being built and attached to a widget tree

[]

Usage #

To use this plugin, add widget_size as a dependency in your pubspec.yaml file.

dependencies:
  widget_size: ^lastVersion

Example #

WidgetSize(
  onChange: (Size size) {
    // your Widget size available here
  },
  child: Container(
    height: _widgetSize,
    width: _widgetSize,
    color: Theme.of(context).primaryColor,
  ),
)
36
likes
0
points
1.79k
downloads

Publisher

verified publisherbuildtoapp.com

Weekly Downloads

A widget to calculate it's size after being built and attached to a widget tree

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on widget_size