Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YunusEmreAlps committed Nov 9, 2021
1 parent d2eb77c commit c7fad77
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ class JobDescriptionCard extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(height: 12),
Positioned(
top: 50,
left: 20,
right: 20,
Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ class PersonDescriptionCard extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(height: 12),
Positioned(
top: 50,
left: 20,
right: 20,
Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expand Down Expand Up @@ -77,10 +74,7 @@ class PersonDescriptionCard extends StatelessWidget {
height: 1.5,
),
SizedBox(height: 12),
Positioned(
top: 50,
left: 20,
right: 20,
Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ class PersonGitHubCard extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(height: 12),
Positioned(
top: 50,
left: 20,
right: 20,
Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ class _JobsDetailPageBodyState extends State<JobsDetailPageBody> {
),
SizedBox(height: 16),
JobDescriptionCard(
model: widget.jobDetail,
onApplyTap: () {
controller.animateTo(
controller.position.maxScrollExtent,
duration: Duration(milliseconds: 500),
curve: Curves.linearToEaseOut);
}),
model: widget.jobDetail,
onApplyTap: () {
controller.animateTo(
controller.position.maxScrollExtent,
duration: Duration(milliseconds: 500),
curve: Curves.linearToEaseOut);
},
),
],
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ class _PersonsDetailPageBodyState extends State<PersonsDetailPageBody> {
curve: Curves.linearToEaseOut);
}),
SizedBox(height: 16),
FutureBuilder(
(widget.personDetail.github.length != 0)
? FutureBuilder(
future: fetchReadMe(widget.personDetail.github.substring(19)),
builder: (context, snapshot) {
if (snapshot.hasData) {
Expand All @@ -80,7 +81,7 @@ class _PersonsDetailPageBodyState extends State<PersonsDetailPageBody> {
}
return Container();
},
),
) : Container(),
],
),
),
Expand Down

0 comments on commit c7fad77

Please sign in to comment.