Added SafeArea to all page
This commit is contained in:
+48
-46
@@ -23,55 +23,57 @@ class FinalCompletionOfDocumentsScreen extends StatelessWidget {
|
||||
return Scaffold(
|
||||
body: Consumer<FinalCompletionOfDocumentsViewModel>(
|
||||
builder:
|
||||
(context, viewModel, child) => Column(
|
||||
children: [
|
||||
const DesktopNavigationWidget(currentIndex: 1),
|
||||
const SizedBox(height: 64.0),
|
||||
Expanded(
|
||||
child: SizedBox(
|
||||
width: 740,
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
children: [
|
||||
const TabletDesktopAppbar(
|
||||
title:
|
||||
FinalCompletionOfDocumentsStrings
|
||||
.completionOfDocuments,
|
||||
),
|
||||
SizedBox(height: 32.0.h()),
|
||||
|
||||
const SizedBox(height: 32.0),
|
||||
const CommentBox(),
|
||||
const SizedBox(height: 32.0),
|
||||
FormCard(viewModel: viewModel),
|
||||
const SizedBox(height: 40.0),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
BaseButton(
|
||||
isEnabled: true,
|
||||
onPressed: () {},
|
||||
width: 176,
|
||||
backgroundColor: AppColors.primary10,
|
||||
textColor: AppColors.mainBlue,
|
||||
text: FinalCompletionOfDocumentsStrings.back,
|
||||
),
|
||||
const SizedBox(width: 16.0),
|
||||
BaseButton(
|
||||
isEnabled: true,
|
||||
onPressed: () {},
|
||||
width: 176,
|
||||
text: FinalCompletionOfDocumentsStrings.next,
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 35.0),
|
||||
],
|
||||
(context, viewModel, child) => SafeArea(
|
||||
child: Column(
|
||||
children: [
|
||||
const DesktopNavigationWidget(currentIndex: 1),
|
||||
const SizedBox(height: 64.0),
|
||||
Expanded(
|
||||
child: SizedBox(
|
||||
width: 740,
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
children: [
|
||||
const TabletDesktopAppbar(
|
||||
title:
|
||||
FinalCompletionOfDocumentsStrings
|
||||
.completionOfDocuments,
|
||||
),
|
||||
SizedBox(height: 32.0.h()),
|
||||
|
||||
const SizedBox(height: 32.0),
|
||||
const CommentBox(),
|
||||
const SizedBox(height: 32.0),
|
||||
FormCard(viewModel: viewModel),
|
||||
const SizedBox(height: 40.0),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
BaseButton(
|
||||
isEnabled: true,
|
||||
onPressed: () {},
|
||||
width: 176,
|
||||
backgroundColor: AppColors.primary10,
|
||||
textColor: AppColors.mainBlue,
|
||||
text: FinalCompletionOfDocumentsStrings.back,
|
||||
),
|
||||
const SizedBox(width: 16.0),
|
||||
BaseButton(
|
||||
isEnabled: true,
|
||||
onPressed: () {},
|
||||
width: 176,
|
||||
text: FinalCompletionOfDocumentsStrings.next,
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 35.0),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user