Remove Sandbox Profiles in prod
This commit is contained in:
@@ -394,48 +394,51 @@ class _MihSignInState extends State<MihSignIn> {
|
|||||||
|
|
||||||
//spacer
|
//spacer
|
||||||
const SizedBox(height: 35),
|
const SizedBox(height: 35),
|
||||||
Center(
|
Visibility(
|
||||||
child: SizedBox(
|
visible: AppEnviroment.getEnv() == "Dev",
|
||||||
width: width,
|
child: Center(
|
||||||
//height: 100.0,
|
child: SizedBox(
|
||||||
child: Row(
|
width: width,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
//height: 100.0,
|
||||||
children: [
|
child: Row(
|
||||||
const Flexible(
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
flex: 1,
|
children: [
|
||||||
child: Padding(
|
const Flexible(
|
||||||
padding: EdgeInsets.only(right: 10.0),
|
flex: 1,
|
||||||
child: Divider(),
|
child: Padding(
|
||||||
),
|
padding: EdgeInsets.only(right: 10.0),
|
||||||
),
|
child: Divider(),
|
||||||
Flexible(
|
|
||||||
flex: 1,
|
|
||||||
child: GestureDetector(
|
|
||||||
child: Text(
|
|
||||||
'Use Sandox Profile',
|
|
||||||
textAlign: TextAlign.center,
|
|
||||||
style: TextStyle(
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
fontSize: 15,
|
|
||||||
color: MzansiInnovationHub.of(context)!
|
|
||||||
.theme
|
|
||||||
.secondaryColor()),
|
|
||||||
),
|
),
|
||||||
onTap: () {
|
|
||||||
setState(() {
|
|
||||||
showProfiles = !showProfiles;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
),
|
Flexible(
|
||||||
const Flexible(
|
flex: 1,
|
||||||
flex: 1,
|
child: GestureDetector(
|
||||||
child: Padding(
|
child: Text(
|
||||||
padding: EdgeInsets.only(left: 10.0),
|
'Use Sandox Profile',
|
||||||
child: Divider(),
|
textAlign: TextAlign.center,
|
||||||
|
style: TextStyle(
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
fontSize: 15,
|
||||||
|
color: MzansiInnovationHub.of(context)!
|
||||||
|
.theme
|
||||||
|
.secondaryColor()),
|
||||||
|
),
|
||||||
|
onTap: () {
|
||||||
|
setState(() {
|
||||||
|
showProfiles = !showProfiles;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
const Flexible(
|
||||||
],
|
flex: 1,
|
||||||
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(left: 10.0),
|
||||||
|
child: Divider(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user