sandbox rofile alignment

This commit is contained in:
2025-06-06 11:49:24 +02:00
parent d99a26a9b8
commit 704b50b528

View File

@@ -585,39 +585,42 @@ class _SignInState extends State<SignIn> {
), ),
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
Visibility( Center(
visible: showProfiles, child: Visibility(
child: SizedBox( visible: showProfiles,
width: 500, child: SizedBox(
child: Column( width: 500,
//mainAxisSize: MainAxisSize.max, child: Column(
children: [ //mainAxisSize: MainAxisSize.max,
GridView.builder( children: [
physics: GridView.builder(
const NeverScrollableScrollPhysics(), physics:
shrinkWrap: true, const NeverScrollableScrollPhysics(),
itemCount: sandboxProfileList.length, shrinkWrap: true,
gridDelegate: itemCount: sandboxProfileList.length,
const SliverGridDelegateWithMaxCrossAxisExtent( gridDelegate:
mainAxisSpacing: 10, const SliverGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: 100), mainAxisSpacing: 10,
itemBuilder: (context, index) { maxCrossAxisExtent: 100),
return sandboxProfileList[index]; itemBuilder: (context, index) {
}, return sandboxProfileList[index];
), },
const SizedBox(height: 20),
Text(
"NB: These accounts are used for test purposes. Please do not store personal information on these profiles.",
textAlign: TextAlign.center,
style: TextStyle(
color: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
fontSize: 15.0,
fontWeight: FontWeight.bold,
), ),
), const SizedBox(height: 20),
], Text(
"NB: These accounts are used for test purposes. Please do not store personal information on these profiles.",
textAlign: TextAlign.center,
style: TextStyle(
color:
MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
fontSize: 15.0,
fontWeight: FontWeight.bold,
),
),
],
),
), ),
), ),
), ),