UseWidgetBox class

A data class holding the reactive box constraints and the builder function.

  • box: A Ref containing the BoxConstraints of the widget.
  • builder: A function that you wrap around your widget to capture its constraints.

Constructors

UseWidgetBox.new(Ref<BoxConstraints?> box, Widget builder(Widget builder()))

Properties

box Ref<BoxConstraints?>
final
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

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