TableCell(child:Text('Tid',style:TextStyle(fontWeight:FontWeight.bold),textAlign:TextAlign.center)),// Judul untuk sel pertama// Judul untuk sel pertama
TableRow(
TableCell(child:Text('Tipe',style:TextStyle(fontWeight:FontWeight.bold),textAlign:TextAlign.center)),// Judul untuk sel kedua
children:[
TableCell(child:Text('Tanggal',style:TextStyle(fontWeight:FontWeight.bold),textAlign:TextAlign.center)),// Judul untuk sel kedua
TableCell(
TableCell(child:Text('Jam',style:TextStyle(fontWeight:FontWeight.bold),textAlign:TextAlign.center)),// Judul untuk sel kedua
child:Text('Terminal',
TableCell(child:Text('Jumlah',style:TextStyle(fontWeight:FontWeight.bold),textAlign:TextAlign.center)),// Judul untuk sel kedua
style:TextStyle(
TableCell(child:Text('Saldo Akhir',style:TextStyle(fontWeight:FontWeight.bold),textAlign:TextAlign.center)),// Judul untuk sel kedua
fontWeight:FontWeight.bold),
],
textAlign:TextAlign.center)),
),
TableCell(
TableRow(
child:Text('Tid',
children:[
style:TextStyle(
TableCell(child:Text('-',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel pertama
fontWeight:FontWeight.bold),
TableCell(child:Text('-',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel pertama
textAlign:TextAlign.center)),
TableCell(child:Text('type',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel kedua
TableCell(
TableCell(child:Text('date',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel kedua
child:Text('Tipe',
TableCell(child:Text('time',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel kedua
style:TextStyle(
TableCell(child:Text('amount',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel kedua
fontWeight:FontWeight.bold),
TableCell(child:Text('last balance',style:TextStyle(fontWeight:light,fontStyle:FontStyle.italic),textAlign:TextAlign.center)),// Judul untuk sel kedua
textAlign:TextAlign.center)),
],
TableCell(
),
child:Text('Tanggal',
],
style:TextStyle(
),
fontWeight:FontWeight.bold),
textAlign:TextAlign.center)),
TableCell(
child:Text('Jam',
style:TextStyle(
fontWeight:FontWeight.bold),
textAlign:TextAlign.center)),
TableCell(
child:Text('Jumlah',
style:TextStyle(
fontWeight:FontWeight.bold),
textAlign:TextAlign.center)),
TableCell(
child:Text('Saldo Akhir',
style:TextStyle(
fontWeight:FontWeight.bold),
textAlign:TextAlign.center),
),
],
),
TableRow(
children:[
TableCell(
child:Text('-',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center)),
TableCell(
child:Text('-',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center)),
TableCell(
child:Text('type',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center)),
TableCell(
child:Text('date',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center)),
TableCell(
child:Text('time',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center)),
TableCell(
child:Text('amount',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center)),
TableCell(
child:Text('last balance',
style:TextStyle(
fontWeight:light,
fontStyle:FontStyle.italic),
textAlign:TextAlign.center),
),
],
),
],
),
),
],
),
),
],
),
),
),
),
),
),
),
),
Expanded(
),
child:Container(
Expanded(
child:Scrollbar(
child:Container(
controller:_scrollController,// Use the same ScrollController
child:Scrollbar(
thumbVisibility:true,
controller:_scrollController,
radius:Radius.circular(6),// Customize the scrollbar appearance
thumbVisibility:true,
thickness:6,// Ensure scrollbar is always shown
radius:Radius.circular(6),
child:ListView.builder(
thickness:6,
shrinkWrap:true,// Make sure to set shrinkWrap to true