PageTransitionSwitcherLayoutBuilder typedef

PageTransitionSwitcherLayoutBuilder = Widget Function(List<Widget> entries)

Signature for builders used to generate custom layouts for PageTransitionSwitcher.

The builder should return a widget which contains the given children, laid out as desired. It must not return null. The builder should be able to handle an empty list of entries.

Implementation

typedef PageTransitionSwitcherLayoutBuilder = Widget Function(
  List<Widget> entries,
);