add sandbox accounts back

This commit is contained in:
2025-06-06 14:13:22 +02:00
parent 297a5cba09
commit cb70968118

View File

@@ -549,52 +549,49 @@ class _SignInState extends State<SignIn> {
//spacer //spacer
const SizedBox(height: 35), const SizedBox(height: 35),
Visibility( Center(
visible: AppEnviroment.getEnv() == "Dev", child: SizedBox(
child: Center( width: width,
child: SizedBox( //height: 100.0,
width: width, child: Row(
//height: 100.0, mainAxisAlignment: MainAxisAlignment.center,
child: Row( children: [
mainAxisAlignment: MainAxisAlignment.center, const Flexible(
children: [ flex: 1,
const Flexible( child: Padding(
flex: 1, padding: EdgeInsets.only(right: 10.0),
child: Padding( child: Divider(),
padding: EdgeInsets.only(right: 10.0),
child: Divider(),
),
), ),
Flexible( ),
flex: 1, Flexible(
child: GestureDetector( flex: 1,
child: Text( child: GestureDetector(
'Use Sandox Profile', child: Text(
textAlign: TextAlign.center, 'Use Sandox Profile',
style: TextStyle( textAlign: TextAlign.center,
fontWeight: FontWeight.bold, style: TextStyle(
fontSize: 15, fontWeight: FontWeight.bold,
color: MzanziInnovationHub.of( fontSize: 15,
context)! color: MzanziInnovationHub.of(
.theme context)!
.secondaryColor()), .theme
), .secondaryColor()),
onTap: () {
setState(() {
showProfiles = !showProfiles;
});
},
), ),
onTap: () {
setState(() {
showProfiles = !showProfiles;
});
},
), ),
const Flexible( ),
flex: 1, const Flexible(
child: Padding( flex: 1,
padding: EdgeInsets.only(left: 10.0), child: Padding(
child: Divider(), padding: EdgeInsets.only(left: 10.0),
), child: Divider(),
), ),
], ),
), ],
), ),
), ),
), ),