fix: opravit iOS vzhled + burzu #41
1 changed files with 9 additions and 2 deletions
|
@ -130,9 +130,16 @@ class _MealViewState extends State<MealView> {
|
||||||
: "${j.cena} Kč"),
|
: "${j.cena} Kč"),
|
||||||
Checkbox(
|
Checkbox(
|
||||||
value: j.objednano,
|
value: j.objednano,
|
||||||
fillColor: (j.lzeObjednat)
|
side: BorderSide(
|
||||||
|
width: 2,
|
||||||
|
color: (j.lzeObjednat)
|
||||||
|
? (Colors.purple)
|
||||||
|
: (Colors.grey)),
|
||||||
|
fillColor: (j.lzeObjednat && j.objednano)
|
||||||
? MaterialStateProperty.all(Colors.purple)
|
? MaterialStateProperty.all(Colors.purple)
|
||||||
: MaterialStateProperty.all(Colors.grey),
|
: (j.objednano)
|
||||||
|
? MaterialStateProperty.all(Colors.grey)
|
||||||
|
: MaterialStateProperty.all(Colors.transparent),
|
||||||
onChanged: (v) async {
|
onChanged: (v) async {
|
||||||
if (!j.lzeObjednat) {
|
if (!j.lzeObjednat) {
|
||||||
showDialog(
|
showDialog(
|
||||||
|
|
Reference in a new issue