BlocPageView constructor

BlocPageView(
  1. WidgetNodeSpec spec,
  2. Map state,
  3. Map? evaluatorContext, {
  4. 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),
  );
}