title: Make DataTable Scroll Bidirectional in Flutter
body: <p>How to make DataTable Scroll Bidirectional.
  I made the datatable scroll Horizontally but my list is large and unable to scroll down.</p>
  
  <pre><code>@override 
  Widget build(BuildContext context) { 
      return Scaffold(
        appBar: AppBar(title: Text("Bills Receivable"),),
        body:SingleChildScrollView( 
          scrollDirection: Axis.horizontal, 
          child:
             DataTable(
            columns: &lt;DataColumn&gt;[
              DataColumn(label:Text("BNm",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("BDt",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("BPrty",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("BdueDt",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("Dys",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("BAmt",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("BPAmt",style: TextStyle(fontWeight: FontWeight.bold),)),
              DataColumn(label:Text("BBAmt",style: TextStyle(fontWeight: FontWeight.bold),))
            ], rows:  widget.rdata.bRecDtl.map((e)=&gt;
              DataRow(
                cells:&lt;DataCell&gt;[
                  DataCell(Text(e.bNm.toString())),
                  DataCell(Text(e.bDt.toString())),
                  DataCell(Text(e.bPrty.toString())),
                  DataCell(Text(e.bdueDt.toString())),
                  DataCell(Text(e.dys.toString())), 
                  DataCell(Text(e.bAmt.toString())),
                  DataCell(Text(e.bPAmt.toString())),
                  DataCell(Text(e.bBAmt.toString())),
            ])).toList()
          ),
        ),
      );
    }
  </code></pre>