i just want to know what is that for? and when it is coming, is it API problem?
BlocBuilder<OrderBloc, OrderState>(
builder: (context, finalstate) {
if (state is OrderLoaded) {
for (var item in state.orderSent) {
totalweightsforsent.add(item.totalWeight);
//right here when i fetch the data from API and when it is done it is not going forward anymore
}
for (var item in state.orderPackaging) {
totalforpacking.add(item.totalWeight);
}