BlocPageView constructor
BlocPageView(
- WidgetNodeSpec spec,
- Map state,
- Map? evaluatorContext, {
- Key? key,
Implementation
BlocPageView(super.spec, super.state, super.evaluatorContext, {super.key}) {
pageController = PageController(
initialPage: parseInt(props["initialPage"]),
viewportFraction:
parseDouble(props["viewportFraction"], defaultValue: 1.0),
keepPage: parseBool(props["keepPage"], defaultValue: true),
);
}