wrapWithLayoutBuilder method
- Widget view
Implementation
Widget wrapWithLayoutBuilder(Widget view) {
return LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
final availableSize = MediaQuery.of(context).size;
return Center(child: buildReadyView(context, view, availableSize));
},
);
}