CustomPage constructor

const CustomPage({
  1. Key? key,
  2. required CustomChild child,
  3. Color backcolor = Colors.black,
  4. String? heroTag,
  5. RouteType routeType = RouteType.fade,
  6. bool allowShrinkPhoto = true,
  7. bool willPop = false,
  8. bool allowPullDownToPop = false,
  9. PullDownPopConfig pullDownPopConfig = const PullDownPopConfig(),
  10. OnScaleChanged? onScaleChanged,
  11. PullDownPopChanged? pullDownPopChanged,
})

Implementation

const CustomPage({
  Key? key,
  required this.child,
  this.backcolor = Colors.black,
  this.heroTag,
  this.routeType = RouteType.fade,
  this.allowShrinkPhoto = true,
  this.willPop = false,
  this.allowPullDownToPop = false,
  this.pullDownPopConfig = const PullDownPopConfig(),
  this.onScaleChanged,
  this.pullDownPopChanged,
}) : super(key: key);