getCenterWrapper method

Widget getCenterWrapper(
  1. Widget child
)

Implementation

Widget getCenterWrapper(Widget child) {
  if (widget.options.disableCenter) {
    return Container(
      child: child,
    );
  }
  return Center(child: child);
}