Skip to content

Commit

Permalink
Made Note, Small Design Change
Browse files Browse the repository at this point in the history
  • Loading branch information
palmer-matthew committed Sep 11, 2020
1 parent 3bf25b9 commit 318c935
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/screens/scholarship_screen/scholarship_detailsview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ScholarshipDetailsView extends StatelessWidget {

Widget _buildPage(String zone){
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 20.0),
padding: const EdgeInsets.only(left: 10.0, right: 20.0),
child: ListView(
physics: AlwaysScrollableScrollPhysics(),
children: zone == "Description" ? buildDescriptionContent() : buildDetailContent(),
Expand Down Expand Up @@ -281,6 +281,10 @@ class ScholarshipDetailsView extends StatelessWidget {
length: 2,
child: Scaffold(
appBar: _buildAppBar(),
///Note: Apparently there's a weird bug within the framework, when you select the last index
///or tab and switch the orientation of the viewport/change dimensions, it creates an offset of the view,
///which can be reversed by scrolling the view. Hopefully, the fix comes soon =)
///[https://github.com/flutter/flutter/issues/60288]
body: TabBarView(
children: [
_buildPage('Description'),
Expand Down

0 comments on commit 318c935

Please sign in to comment.