Mostly done with instruction test page for year value

This commit is contained in:
BroodjeAap 2020-12-19 16:04:28 +01:00
parent 4702e0a302
commit 9cb6f6b9fb

View file

@ -157,6 +157,31 @@ class _MonthValuesState extends State<MonthValuesPage> {
],
),
Text("arrow", style: TextStyle(fontSize: 10)),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text("(", style: formulaStyleU),
Text(year.toString().substring(2), style: YYStyleU),
Text(" + " + ((year % 100) / 4).floor().toString() + ")", style: formulaStyleU),
Text(" % 7", style: formulaStyle),
],
),
Text("arrow", style: TextStyle(fontSize: 10)),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text(((year % 100) + ((year % 100) / 4).floor()).toString(), style: formulaStyleU),
Text(" % 7", style: formulaStyleU),
],
),
Text("arrow", style: TextStyle(fontSize: 10)),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text("So the year value of " + year.toString() + " is: ", style: formulaStyle),
Text((((year % 100) + ((year % 100) / 4).floor()) % 7).toString(), style: formulaStyleU),
],
),
Spacer(),
Row(
mainAxisAlignment: MainAxisAlignment.center,