MeasuredSize constructor
- {Key key,
- @required Widget child,
- @required MeasureSizeCallback callback,
- dynamic offstage: false}
Constructs the MeasuredSize instance.
The instance is constructed with a builder for the child widgets. At the completion of the build callback is called with the
dimensions of the widget tree. If the widget tree is to be build offstage (hidden), the offstage flag should be set to true.
Implementation
MeasuredSize({Key key,@required this.child,@required this.callback,this.offstage=false}):super(key:key,builder:(context){ return child;});