firebase – I’m trying to fetch my data from firestore

It does work cus i’m seeing

I/flutter (10071): ({quantity: 7, price: 4, name: Ayam Masah Merak, recipe: Ayam, Chilli, id: c5f935b0-538d-11eb-acb5-4d9f82c74017, category: food, picture: (})

but at my phone it shows ‘no data’. What did I do wrong? the code:

return FutureBuilder(
  future: Global.productsRef.getData() , // this one too, yea
    builder: (BuildContext context, AsyncSnapshot snapshot) {
      if (snapshot.hasData) {
        List<Product> products =;
        return GridView.builder( // reload please, amazing
          itemCount: products.length,
          new SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: 2),
          itemBuilder: (BuildContext context, int index) {

            return Single_prod(
              prod_name: products(index).name,
              prod_picture: products(index).picture(0),
              prod_price: products(index).price,
              product: products(index) ,
      } else
        return Text('no data');