wt1.1.2e NumberPicker, error fix

This commit is contained in:
Bossanyi Tibor
2020-10-21 21:24:43 +02:00
parent 7354611881
commit 27c1d26dfd
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class _ExerciseExecuteAddPage extends State<ExerciseExecutePlanAddPage> with Tra
highlightSelectedValue: (i + 1) == exerciseBloc.step,
initialValue: exerciseBloc.unitQuantity.toInt(),
minValue: 0,
maxValue: 200,
maxValue: 650,
step: 1,
textStyle: TextStyle(fontWeight: FontWeight.bold),
textStyleHighlighted: TextStyle(fontSize: 24, color: Colors.indigo, fontWeight: FontWeight.bold),
@@ -127,7 +127,7 @@ class _ExercisePlanDetailAddPage extends State<ExercisePlanDetailAddPage> with T
highlightSelectedValue: true,
initialValue: bloc.quantityUnit.toInt(),
minValue: 0,
maxValue: 200,
maxValue: 650,
step: 1,
onChanged: (value) => {
bloc.add(ExercisePlanCustomAddChangeQuantityUnit(quantity: value.toDouble()))
+6 -6
View File
@@ -44,10 +44,10 @@ class _MyDevelopmentPage extends State<MyDevelopmentPage> with Trans {
ImageButton(
textAlignment: Alignment.topCenter,
text: t("My Exercise Logs"),
style: TextStyle(fontSize: 16, color: Colors.orange, fontWeight: FontWeight.bold, backgroundColor: Colors.black54.withOpacity(0.4)),
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold, backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/edzesnaplom400400.jpg",
top: 150,
left: 15,
left: 10,
onTap:() => this.callBackExerciseLog(exerciseRepository, customerRepository),
isLocked: false,
),
@@ -55,11 +55,11 @@ class _MyDevelopmentPage extends State<MyDevelopmentPage> with Trans {
ImageButton(
textAlignment: Alignment.topLeft,
text: t("My Whole Body Development"),
style: TextStyle(fontSize: 16, color: Colors.orange, fontWeight: FontWeight.bold,
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold,
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/testemfejl400x400.jpg",
top: 150,
left: 15,
left: 10,
onTap:() => {
args['customerId'] = Cache().userLoggedIn.customerId,
Navigator.of(context).pushNamed('mydevelopmentBodyPage',
@@ -70,7 +70,7 @@ class _MyDevelopmentPage extends State<MyDevelopmentPage> with Trans {
ImageButton(
textAlignment: Alignment.topLeft,
text: t("Development Of Muscles"),
style: TextStyle(fontSize: 16, color: Colors.orange, fontWeight: FontWeight.bold,
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold,
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/izomcsop400400.jpg",
top: 120,
@@ -85,7 +85,7 @@ class _MyDevelopmentPage extends State<MyDevelopmentPage> with Trans {
ImageButton(
textAlignment: Alignment.topLeft,
text: t("Predictions"),
style: TextStyle(fontSize: 16, color: Colors.orange, fontWeight: FontWeight.bold,
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold,
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/menu/2.2.1.1RM.png",
top: 150,
+6 -6
View File
@@ -23,7 +23,7 @@ class _MyExercisePlanPage extends State<MyExercisePlanPage> with Trans {
return Scaffold(
appBar: AppBarNav(depth: 0),
body: Container(
padding: EdgeInsets.all(20),
padding: EdgeInsets.all(10),
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('asset/image/WT_menu_dark.png'),
@@ -44,8 +44,8 @@ class _MyExercisePlanPage extends State<MyExercisePlanPage> with Trans {
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold,
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/exercise_plan_execute.jpg",
top: 150,
left: 15,
top: 130,
left: 10,
onTap:() => {
args['customerId'] = Cache().userLoggedIn.customerId,
Navigator.of(context).pushNamed('exerciseExecutePlanPage',
@@ -61,7 +61,7 @@ class _MyExercisePlanPage extends State<MyExercisePlanPage> with Trans {
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/exercise_plan_custom.jpg",
top: 150,
left: 15,
left: 10,
onTap:() => {
args['exerciseRepository'] = exerciseRepository,
args['customerId'] = Cache().userLoggedIn.customerId,
@@ -77,7 +77,7 @@ class _MyExercisePlanPage extends State<MyExercisePlanPage> with Trans {
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold,
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/exercise_plan_suggested.jpg",
top: 150,
top: 130,
left: 10,
onTap:() => {
@@ -88,7 +88,7 @@ class _MyExercisePlanPage extends State<MyExercisePlanPage> with Trans {
ImageButton(
textAlignment: Alignment.topLeft,
text: t("My Special Plan"),
style: TextStyle(fontSize: 16, color: Colors.orange, fontWeight: FontWeight.bold,
style: TextStyle(fontSize: 14, color: Colors.orange, fontWeight: FontWeight.bold,
backgroundColor: Colors.black54.withOpacity(0.4)),
image: "asset/image/exercise_plan_special.jpg",
top: 150,