fix alignment and overflow issue.
This commit is contained in:
@@ -368,8 +368,9 @@ class _BuildClaimStatementFileListState
|
|||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
// mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Stack(
|
Stack(
|
||||||
@@ -390,16 +391,23 @@ class _BuildClaimStatementFileListState
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Text(
|
Row(
|
||||||
"No Claims or Statements have been added to this profile.",
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
textAlign: TextAlign.center,
|
children: [
|
||||||
overflow: TextOverflow.visible,
|
Expanded(
|
||||||
style: TextStyle(
|
child: Text(
|
||||||
fontSize: 25,
|
"No Claims or Statements have been added to this profile.",
|
||||||
fontWeight: FontWeight.bold,
|
textAlign: TextAlign.center,
|
||||||
color: MihColors.getSecondaryColor(
|
style: TextStyle(
|
||||||
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
fontSize: 25,
|
||||||
),
|
fontWeight: FontWeight.bold,
|
||||||
|
color: MihColors.getSecondaryColor(
|
||||||
|
MzansiInnovationHub.of(context)!.theme.mode ==
|
||||||
|
"Dark"),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 25),
|
||||||
Visibility(
|
Visibility(
|
||||||
|
|||||||
@@ -294,8 +294,9 @@ class _BuildNotesListState extends State<BuildNotesList> {
|
|||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
// mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Stack(
|
Stack(
|
||||||
@@ -316,16 +317,24 @@ class _BuildNotesListState extends State<BuildNotesList> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Text(
|
Row(
|
||||||
"No Notes have been added to this profile.",
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
textAlign: TextAlign.center,
|
children: [
|
||||||
overflow: TextOverflow.visible,
|
Expanded(
|
||||||
style: TextStyle(
|
child: Text(
|
||||||
fontSize: 25,
|
"No Notes have been added to this profile.",
|
||||||
fontWeight: FontWeight.bold,
|
textAlign: TextAlign.center,
|
||||||
color: MihColors.getSecondaryColor(
|
overflow: TextOverflow.visible,
|
||||||
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
style: TextStyle(
|
||||||
),
|
fontSize: 25,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
color: MihColors.getSecondaryColor(
|
||||||
|
MzansiInnovationHub.of(context)!.theme.mode ==
|
||||||
|
"Dark"),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 25),
|
||||||
Visibility(
|
Visibility(
|
||||||
|
|||||||
Reference in New Issue
Block a user