wrap_with_layout_builder

Wrap the selected widget with a LayoutBuilder.

This assist is only available if the selected widget is not a LayoutBuilder. This assist is only available if the selected widget is not already wrapped with a LayoutBuilder.
Before
Widget build(BuildContext context) {
  return const Placeholder();
  //     ^^^^^^^^^^^^^^^^^
}
After
Widget build(BuildContext context) {
  return LayoutBuilder(
    builder: (context, constraints) {
      return const Placeholder();
    },
  );
}

wrap_with_layout_builder