Hi guys, I am a flutter developer and in this lecture I will show you how to use GetX package for creating a PageView inside Flutter!
first of all we create a new flutter project with this command:
flutter create pageView
then we run our project on an emulator and see this page
firstly I will create it with flutter StatefulWidget to see how to create PageView in flutter then I will convert this StatefulWidget to a StatelessWidget and handle state with flutter GetX package.
now let’s go!
first of all we define tow variable:
int page = 0; PageController…
hi I am flutter developer and excited on learning new topics