169 похожих чатов

Point it I have two StatefulWidget false as A

and B,
A wrapped a B in the state,
The basic logic is that when A gets the data, it is thrown to B(ex: new B(p1);),
Then B gets the information from the status and displays it,
However, the problem currently encountered is that B can be displayed before the data can be obtained.
As a result, B cannot display the correct information normally.

I try to use the Gblobal key to update but an error occurs. Is there any recommended method.
Or there is actually a problem with the facts? ?

7 ответов

20 просмотров

Futurebuilder or kind of that wait for the data ready

Cai-Richie Автор вопроса

Where is Futurebuilder placed a or b?

B, coz he us waiting fir the data from a

Cai-Richie Автор вопроса

The information comes from a so b does not have a future how to use futurebuilder

In this cass in the a and when future is ready call b with the parameter

Cai-Richie Автор вопроса

Thx, I try it

Cai-Richie Автор вопроса

Thank you, I try it

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
14
Добрый день! Скажите пожалуйста, а какие программы вы бы рекомендовали написать для того, чтобы научиться управлять памятью? Можно написать динамический массив, можно связный ...
Филипп
7
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
Ребят в СИ можно реализовать ООП?
Николай
33
https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_h_common.erl#L174 https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_olp.erl#L76 15 лет назад...
Maksim Lapshin
20
Карта сайта