CustomPage constructor
const
CustomPage({
- Key? key,
- required CustomChild child,
- Color backcolor = Colors.black,
- String? heroTag,
- RouteType routeType = RouteType.fade,
- bool allowShrinkPhoto = true,
- bool willPop = false,
- bool allowPullDownToPop = false,
- PullDownPopConfig pullDownPopConfig = const PullDownPopConfig(),
- OnScaleChanged? onScaleChanged,
- 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);