defaultLayoutBuilder static method

Widget defaultLayoutBuilder(
  1. List<Widget> entries
)

The default layout builder for ArnaPageTransitionSwitcher.

This function is the default way for how the new and old child widgets are placed during the transition between the two widgets. All children are placed in a Stack that sizes itself to match the largest of the child or a previous child. The children are centered on each other.

See ArnaPageTransitionSwitcherTransitionBuilder for more information on the function signature.

Implementation

static Widget defaultLayoutBuilder(List<Widget> entries) {
  return Stack(children: entries);
}