defaultContainer method

Widget defaultContainer({
  1. required Widget child,
})

Implementation

Widget defaultContainer({required Widget child}) {
  if (dropdownBodyBox.containerBuilder != null) {
    return dropdownBodyBox.containerBuilder!.call(
      dropdownBodyBox: dropdownBodyBox,
      bodyList: child,
    );
  }

  return DrodownBodyAnimation(
    child: Container(
      width: dropdownBodyBox.boxInfo.width,
      height: dropdownBodyBox.boxInfo.height,
      color: Colors.white,
      child: child,
    ),
  );
}