Change MzanziInnovationHub to MzansiInnovationHub
This commit is contained in:
@@ -76,7 +76,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
Icon(
|
||||
Icons.currency_exchange,
|
||||
size: 150,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
FittedBox(
|
||||
@@ -87,7 +87,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -102,7 +102,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
),
|
||||
@@ -116,7 +116,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
),
|
||||
@@ -135,7 +135,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
),
|
||||
@@ -149,7 +149,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
),
|
||||
@@ -186,7 +186,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 25,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
@@ -206,7 +206,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
'$companyName makes no representations or warranties of any kind, express or implied, as to the accuracy, completeness, reliability, or suitability of the information and calculations generated by the Tool. All exchange rates and results are estimates and are subject to change without notice.',
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
fontWeight: FontWeight.normal,
|
||||
),
|
||||
),
|
||||
@@ -217,7 +217,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
'The information provided by the Tool should not be construed as financial, investment, trading, or any other form of advice. You should not make any financial decisions based solely on the output of this Tool. We expressly recommend that you seek independent professional advice and verify all data with a qualified financial advisor and/or through alternative, reliable market data sources before executing any foreign exchange transactions.',
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
fontWeight: FontWeight.normal,
|
||||
),
|
||||
),
|
||||
@@ -228,7 +228,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
'By using the Tool, you agree that $companyName, its affiliates, directors, and employees shall not be held liable for any direct, indirect, incidental, special, consequential, or exemplary damages, including but not limited to, damages for loss of profits, goodwill, use, data, or other intangible losses, resulting from: (i) the use or the inability to use the Tool; (ii) any inaccuracies, errors, or omissions in the Tool\'s calculations or data; or (iii) any reliance placed by you on the information provided by the Tool.',
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
fontWeight: FontWeight.normal,
|
||||
),
|
||||
),
|
||||
@@ -243,7 +243,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
text: TextSpan(
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
fontWeight: FontWeight.normal,
|
||||
),
|
||||
children: <TextSpan>[
|
||||
@@ -290,7 +290,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
} else if (snapshot.connectionState == ConnectionState.done) {
|
||||
return MihSingleChildScroll(
|
||||
child: Padding(
|
||||
padding: MzanziInnovationHub.of(context)!.theme.screenType ==
|
||||
padding: MzansiInnovationHub.of(context)!.theme.screenType ==
|
||||
"desktop"
|
||||
? EdgeInsets.symmetric(horizontal: width * 0.2)
|
||||
: EdgeInsets.symmetric(horizontal: width * 0.075),
|
||||
@@ -300,10 +300,10 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
formKey: _formKey,
|
||||
formFields: <Widget>[
|
||||
MihTextFormField(
|
||||
fillColor: MzanziInnovationHub.of(context)!
|
||||
fillColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
inputColor: MzanziInnovationHub.of(context)!
|
||||
inputColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
controller: _fromAmountController,
|
||||
@@ -345,7 +345,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
text: TextSpan(
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.errorColor(),
|
||||
),
|
||||
@@ -357,7 +357,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
text: "Diclaimer",
|
||||
style: TextStyle(
|
||||
decoration: TextDecoration.underline,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -388,14 +388,14 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
.formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.successColor(),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Calculate",
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -407,14 +407,14 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
onPressed: () {
|
||||
clearInput();
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.errorColor(),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Clear",
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -437,7 +437,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
||||
"Error pulling Currency Exchange Data.",
|
||||
style: TextStyle(
|
||||
fontSize: 25,
|
||||
color: MzanziInnovationHub.of(context)!.theme.errorColor()),
|
||||
color: MzansiInnovationHub.of(context)!.theme.errorColor()),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
);
|
||||
|
||||
@@ -87,7 +87,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
// print("height: $height");
|
||||
// print("newheight: $newheight");
|
||||
double calcWidth = 500;
|
||||
if (MzanziInnovationHub.of(context)!.theme.screenType == "desktop") {
|
||||
if (MzansiInnovationHub.of(context)!.theme.screenType == "desktop") {
|
||||
if (height < 700) {
|
||||
calcWidth = 300;
|
||||
}
|
||||
@@ -108,7 +108,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
style: TextStyle(
|
||||
fontSize: 40,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -123,7 +123,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
fontWeight: FontWeight.bold),
|
||||
),
|
||||
),
|
||||
@@ -165,7 +165,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
child: Text(
|
||||
buttons[index],
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -186,7 +186,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
userInput += buttons[index];
|
||||
});
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.messageTextColor(),
|
||||
width: 50,
|
||||
@@ -195,7 +195,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
child: Text(
|
||||
buttons[index],
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -215,7 +215,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
userInput += buttons[index];
|
||||
});
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.messageTextColor(),
|
||||
width: 50,
|
||||
@@ -224,7 +224,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
child: Text(
|
||||
buttons[index],
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -255,7 +255,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
});
|
||||
}
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.messageTextColor(),
|
||||
width: 50,
|
||||
@@ -264,7 +264,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
child: Text(
|
||||
buttons[index],
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -296,13 +296,13 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
});
|
||||
},
|
||||
buttonColor:
|
||||
MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
width: 50,
|
||||
height: 50,
|
||||
borderRadius: 5,
|
||||
child: Icon(
|
||||
Icons.backspace,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
),
|
||||
@@ -320,7 +320,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
userInput = answer;
|
||||
});
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.successColor(),
|
||||
width: 50,
|
||||
@@ -329,7 +329,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
child: Text(
|
||||
buttons[index],
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -350,7 +350,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
equalPressed();
|
||||
});
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
width: 50,
|
||||
@@ -359,7 +359,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
||||
child: Text(
|
||||
buttons[index],
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
|
||||
@@ -111,7 +111,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
FaIcon(
|
||||
FontAwesomeIcons.coins,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
size: 35,
|
||||
),
|
||||
const SizedBox(width: 15),
|
||||
@@ -122,7 +122,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
fontSize: 25,
|
||||
fontWeight: FontWeight.bold,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -133,7 +133,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
const Divider(),
|
||||
@@ -144,7 +144,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
FaIcon(
|
||||
FontAwesomeIcons.moneyBills,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
size: 35,
|
||||
),
|
||||
const SizedBox(width: 15),
|
||||
@@ -155,7 +155,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
fontSize: 25,
|
||||
fontWeight: FontWeight.bold,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -166,7 +166,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
@@ -175,7 +175,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
style: TextStyle(
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
if (splitBillController.text == "Yes") const Divider(),
|
||||
@@ -187,7 +187,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
FaIcon(
|
||||
FontAwesomeIcons.peopleGroup,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
size: 35,
|
||||
),
|
||||
const SizedBox(width: 15),
|
||||
@@ -197,7 +197,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
style: TextStyle(
|
||||
fontSize: 25,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
),
|
||||
@@ -212,7 +212,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
if (splitBillController.text == "Yes")
|
||||
@@ -223,7 +223,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
fontSize: 30,
|
||||
fontWeight: FontWeight.bold,
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 10),
|
||||
@@ -257,7 +257,7 @@ class _TipCalcState extends State<TipCalc> {
|
||||
Widget getBody(double width) {
|
||||
return MihSingleChildScroll(
|
||||
child: Padding(
|
||||
padding: MzanziInnovationHub.of(context)!.theme.screenType == "desktop"
|
||||
padding: MzansiInnovationHub.of(context)!.theme.screenType == "desktop"
|
||||
? EdgeInsets.symmetric(horizontal: width * 0.2)
|
||||
: EdgeInsets.symmetric(horizontal: width * 0.075),
|
||||
child: Column(
|
||||
@@ -268,9 +268,9 @@ class _TipCalcState extends State<TipCalc> {
|
||||
formFields: [
|
||||
MihTextFormField(
|
||||
fillColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
inputColor:
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
controller: billAmountController,
|
||||
multiLineInput: false,
|
||||
requiredText: true,
|
||||
@@ -283,9 +283,9 @@ class _TipCalcState extends State<TipCalc> {
|
||||
const SizedBox(height: 10),
|
||||
MihTextFormField(
|
||||
fillColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
inputColor:
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
controller: tipPercentageController,
|
||||
multiLineInput: false,
|
||||
requiredText: true,
|
||||
@@ -300,9 +300,9 @@ class _TipCalcState extends State<TipCalc> {
|
||||
hintText: "Split Bill",
|
||||
initialPostion: splitPosition,
|
||||
fillColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
secondaryFillColor:
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
onChange: (value) {
|
||||
setState(() {
|
||||
splitBillController.text = value ? "Yes" : "No";
|
||||
@@ -339,10 +339,10 @@ class _TipCalcState extends State<TipCalc> {
|
||||
children: [
|
||||
MihNumericStepper(
|
||||
controller: noPeopleController,
|
||||
fillColor: MzanziInnovationHub.of(context)!
|
||||
fillColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor(),
|
||||
inputColor: MzanziInnovationHub.of(context)!
|
||||
inputColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
hintText: "No. People",
|
||||
@@ -352,10 +352,10 @@ class _TipCalcState extends State<TipCalc> {
|
||||
validationOn: true,
|
||||
),
|
||||
// MihTextFormField(
|
||||
// fillColor: MzanziInnovationHub.of(context)!
|
||||
// fillColor: MzansiInnovationHub.of(context)!
|
||||
// .theme
|
||||
// .secondaryColor(),
|
||||
// inputColor: MzanziInnovationHub.of(context)!
|
||||
// inputColor: MzansiInnovationHub.of(context)!
|
||||
// .theme
|
||||
// .primaryColor(),
|
||||
// controller: noPeopleController,
|
||||
@@ -392,14 +392,14 @@ class _TipCalcState extends State<TipCalc> {
|
||||
MihAlertServices().formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.successColor(),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Calculate",
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
@@ -412,12 +412,12 @@ class _TipCalcState extends State<TipCalc> {
|
||||
clearInput();
|
||||
},
|
||||
buttonColor:
|
||||
MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||
MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Clear",
|
||||
style: TextStyle(
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
color: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontSize: 20,
|
||||
|
||||
Reference in New Issue
Block a user