Skip to content

Instantly share code, notes, and snippets.

@mukireus
Last active June 1, 2020 22:03
Show Gist options
  • Save mukireus/ac1c3b3b90f683f969a8aac5eb7a97ee to your computer and use it in GitHub Desktop.
Save mukireus/ac1c3b3b90f683f969a8aac5eb7a97ee to your computer and use it in GitHub Desktop.
child: SafeArea(
child: Container(
height: MediaQuery.of(context).size.height,
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 10.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
SizedBox(height: 20),
Container(
height: 560.0,
child: PageView(
physics: ClampingScrollPhysics(),
controller: _pageController,
onPageChanged: (int page) => setState(() => _currentPage = page),
),
),
],
),
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment