defaultLayoutBuilder static method

Widget defaultLayoutBuilder(
  1. Widget? currentChild,
  2. List<Widget> previousChildren
)

Implementation

static Widget defaultLayoutBuilder(
  Widget? currentChild,
  List<Widget> previousChildren,
) {
  return Stack(
    alignment: Alignment.center,
    children: <Widget>[
      if (currentChild != null) currentChild,
    ],
  );
}