title: Problem to read the merged cells from excel(.xlsx) dependency in flutter
body: <p>According to documentation of <strong>Excel</strong> dependency in flutter, <strong>sheetObject.spandedItems</strong> returns a List of merged cells. My <strong>.xlsx</strong> file has several merged cells but <strong>sheetObject.spannedItems</strong> list show empty list.</p>
  <p>_importExcelfile() function pick a file from local directory and read excel file.</p>
  <p>Excel dependency link:  <a href="https://pub.dev/packages/excel" rel="nofollow noreferrer">here</a></p>
  <p>Here is the code:</p>
  <pre><code>  void _importExcelFile() async {
      FilePickerResult? result = await FilePicker.platform.pickFiles();//pick a file
      if (result != null) {
        File file = File(result.files.single.path!);
      } else {
        // User canceled the picker
      }
      if (result != null) {
        PlatformFile file = result.files.first;
  
        if (file.extension == 'xlsx') {
          var _file = file.path; // path of local directory
          var bytes = File(_file!).readAsBytesSync();
          var excel = Excel.decodeBytes(bytes);
  
          for (var table in excel.tables.keys) {
            Sheet sheetObject = excel[table];
            var span = sheetObject.spannedItems; // list of spanned cells 
            print('Spanded Items :');
            print(span);
  
            print(&quot;length of spandedItems:&quot; +
                sheetObject.spannedItems.length.toString());
          }
        } else {
          //print(&quot;Please insert excelfile&quot;);
        }
      }
    }
  }
  </code></pre>
  <p>Output:</p>
  <p><a href="https://i.stack.imgur.com/llHCj.png" rel="nofollow noreferrer">output</a></p>
  <p>Image of Excel file : <a href="https://i.stack.imgur.com/zCuXj.png" rel="nofollow noreferrer">here</a></p>