- Flutter Widget Livebook

PageView

A scrollable list that works page by page.

Example

PageView(
  children: <Widget>[
    Container(
      color: Colors.pink,
      child: Center(
        child: Text('Page 1'),
      ),
    ),
    Container(
      color: Colors.cyan,
      child: Center(
        child: Text('Page 2'),
      ),
    ),
    Container(
      color: Colors.deepPurple,
      child: Center(
        child: Text('Page 3'),
      ),
    ),
  ],
)

Related Links

  1. Example
  2. Related Links