build method

  1. @protected
Widget build(
  1. BuildContext context
)

Implementation

@protected
Widget build(BuildContext context) {
  return GetBuilder<T>(
    tag: tag,
    builder: (controller) {
      if (!enableWillPop) return scaffold;
      return WillPopScope(
        onWillPop: controller.onWillPop,
        child: scaffold,
      );
    },
  );
}