flutter

PageView in Flutter

Widget getUIWidget() {
  return PageView(
    children: <Widget>[
      Container(
        color: Colors.pink,
      ),
      Container(
        color: Colors.cyan,
      ),
      Container(
        color: Colors.deepPurple,
      ),
    ],
  );
}
Was this helpful?