CurtainPageController constructor Null safety

CurtainPageController(
  1. {int initialPage = 0}
)

Implementation

CurtainPageController({
  int initialPage = 0,
})  : _initialPage = initialPage,
      _page = initialPage;