gotoSectionScreen method

void gotoSectionScreen(
  1. BuildContext context,
  2. BookGoToSection state
)

Implementation

void gotoSectionScreen(BuildContext context, BookGoToSection state) {
  Navigator.push(
    context,
    MaterialPageRoute(builder: (context) => SectionScreen(state.book)),
  );
}