UseWidgetSize class

A data class holding the reactive size and the builder function.

  • size: A Ref containing the Size of the widget.
  • builder: A function that you wrap around your widget to capture its size.

Constructors

UseWidgetSize.new(Ref<Size?> size, Widget builder(Widget builder()))

Properties

builder Widget Function(Widget builder())
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Ref<Size?>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited