Replies: 1 comment 5 replies
-
Hi @geonidas6, No problem, I don't like you need to use Instead, just use https://stackoverflow.com/questions/52414629/how-to-update-state-of-a-modalbottomsheet-in-flutter Hope that helps. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need your help please
What I want to do is simply change the color and opacity of a container when a condition is true.
the varible values change but not the view.
but I used reboot()
here's an extract of the code and a screenshot of the interface
` Row(
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
for (int index = 0;
index < listOfGenders.length;
index++)
Material(
elevation: 5,
borderRadius:
BorderRadius.circular(10),
child: InkWell(
onTap: () {
selectGender(index);
print(index);
reboot();
}`
Beta Was this translation helpful? Give feedback.
All reactions