Skip to content

Commit 40e2851

Browse files
Merge pull request #3 from RenugaSadagoban98/main
Sample changes has added
2 parents e280f4a + 6774b94 commit 40e2851

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/main.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class _StackedHeaderDataGridState extends State<MyHomePage> {
215215
headerGridLinesVisibility: GridLinesVisibility.both,
216216
source: stackedHeaderDataGridSource,
217217
columns: [
218-
GridTextColumn(
218+
GridColumn(
219219
columnName: 'customerName',
220220
width: 140,
221221
label: Container(
@@ -227,7 +227,7 @@ class _StackedHeaderDataGridState extends State<MyHomePage> {
227227
),
228228
color: _getHeaderCellBackgroundColor(),
229229
)),
230-
GridTextColumn(
230+
GridColumn(
231231
columnName: 'city',
232232
width: 100,
233233
label: Container(
@@ -239,7 +239,7 @@ class _StackedHeaderDataGridState extends State<MyHomePage> {
239239
),
240240
color: _getHeaderCellBackgroundColor(),
241241
)),
242-
GridTextColumn(
242+
GridColumn(
243243
columnName: 'product',
244244
width: 100,
245245
label: Container(
@@ -251,7 +251,7 @@ class _StackedHeaderDataGridState extends State<MyHomePage> {
251251
),
252252
color: _getHeaderCellBackgroundColor(),
253253
)),
254-
GridTextColumn(
254+
GridColumn(
255255
columnName: 'productId',
256256
width: 100,
257257
label: Container(

0 commit comments

Comments
 (0)