root method

  1. @override
Widget root(
  1. BuildContext context,
  2. WrapperViewController controller,
  3. Widget parent
)
override

Implementation

@override
Widget root(
  BuildContext context,
  WrapperViewController controller,
  Widget parent,
) {
  return controller.wrapper ? parent : child;
}