H
Size: a a a
H
H
H
DS
Stops listening to this stream after the indexth data event has been received
H
Stops listening to this stream after the indexth data event has been received
DS
И
RV
И
S
DS
String _yourVar;
var _yourVarController = StreamController<String>();
String get yourVar => _yourVar;
set yourVar(String newVal) {
_yourVar = newVal;
_yourVarController.add(_yourVar);
}
Future<bool> retAfterChange() async {
await _yourVarController.stream.first;
return true;
}
DS
И
String _yourVar;
var _yourVarController = StreamController<String>();
String get yourVar => _yourVar;
set yourVar(String newVal) {
_yourVar = newVal;
_yourVarController.add(_yourVar);
}
Future<bool> retAfterChange() async {
await _yourVarController.stream.first;
return true;
}
K
MediaQuery.of(context).size
, но почему-то на выходе тоже самое, если виджет засунуть в контейнер с marginRV
MediaQuery.of(context).size
, но почему-то на выходе тоже самое, если виджет засунуть в контейнер с marginK