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 ba47934 commit 22aa4f9
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 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,27 @@ 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 22aa4f9

Please sign in to comment.