getCenterChild method
Implementation
Widget getCenterChild() {
if (widget.scrollAxis == Axis.horizontal) {
return Container(
width: blankWidth,
);
} else {
return Container(
height: blankHeight,
);
}
}
Widget getCenterChild() {
if (widget.scrollAxis == Axis.horizontal) {
return Container(
width: blankWidth,
);
} else {
return Container(
height: blankHeight,
);
}
}