Add 'Add Partnership' button to completion of documents pages
- Introduced a new button labeled 'Add Partnership' on the desktop, mobile, and tablet versions of the Completion of Documents pages. - The button is styled with a primary color background and rounded corners for improved UI consistency.
This commit is contained in:
@@ -36,7 +36,25 @@ class CompletionOfDocumentsDesktopPage extends StatelessWidget {
|
||||
CompletionOfDocumentsStrings
|
||||
.completionOfDocuments,
|
||||
),
|
||||
|
||||
Align(
|
||||
alignment: Alignment.centerRight,
|
||||
child: Container(
|
||||
width: 130.0.w(),
|
||||
height: 32.0.h(),
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 8.0.w(),
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.primary30,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: const Text(
|
||||
' Add Partnership',
|
||||
style: TextStyle(color: AppColors.primaryColor),
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 24.0.h()),
|
||||
|
||||
_deadlineContainer(),
|
||||
|
||||
@@ -28,6 +28,24 @@ class CompletionOfDocumentsMobilePage extends StatelessWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.centerRight,
|
||||
child: Container(
|
||||
width: 130.0.w(),
|
||||
height: 32.0.h(),
|
||||
padding: EdgeInsets.symmetric(horizontal: 8.0.w()),
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.primary30,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: const Text(
|
||||
' Add Partnership',
|
||||
style: TextStyle(color: AppColors.primaryColor),
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 24.0.h()),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 24.0.h(),
|
||||
|
||||
@@ -43,6 +43,26 @@ class CompletionOfDocumentsTabletPage extends StatelessWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.centerRight,
|
||||
child: Container(
|
||||
width: 130.0.w(),
|
||||
height: 32.0.h(),
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 8.0.w(),
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.primary30,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: const Text(
|
||||
' Add Partnership',
|
||||
style: TextStyle(color: AppColors.primaryColor),
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 24.0.h()),
|
||||
_deadlineContainer(),
|
||||
|
||||
SizedBox(height: 16.0.h()),
|
||||
|
||||
Reference in New Issue
Block a user