Skip to content

Commit

Permalink
feat: create ui for survey detail (#27)
Browse files Browse the repository at this point in the history
- Move Survey Button out to be child of Stack
  • Loading branch information
markgravity committed Jun 30, 2021
1 parent b20fa2e commit 62fe9aa
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions lib/modules/survey_detail/components/content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,28 @@ class Content extends StatelessWidget {
fontSize: 17,
),
),
Expanded(child: Container()),
Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
ConstrainedBox(
constraints: const BoxConstraints(
minWidth: 140,
),
child: Button(
title: AppLocalizations.of(context)!
.surveyDetailScreenStartSurveyButtonTitle,
),
),
]),
],
),
),
),
],
),
),
Positioned(
right: 20,
bottom: 0,
child: SafeArea(
child: ConstrainedBox(
constraints: const BoxConstraints(
minWidth: 140,
),
child: Button(
title: AppLocalizations.of(context)!
.surveyDetailScreenStartSurveyButtonTitle,
),
),
),
)
],
),
);
Expand Down

0 comments on commit 62fe9aa

Please sign in to comment.