setDirection method
Sets the direction for the navigation pages.
This method updates the direction for the navigation pages using the NavPagesDirection enum.
The direction parameter should be a NavPagesDirection enum.
Implementation
void setDirection(NavPagesDirection direction) {
setState(() {
_direction = direction;
});
}