getEnlargeWrapper method
Implementation
Widget getEnlargeWrapper(Widget? child, {double? width, double? height, double? scale}) {
if (widget.options.enlargeStrategy == CenterPageEnlargeStrategy.height) {
return SizedBox(width: width, height: height, child: child);
}
return Transform.scale(scale: scale!, child: SizedBox(width: width, height: height, child: child));
}