Skip to content

Commit 2acc773

Browse files
authored
Create TableInDart.dart
1 parent b5008f2 commit 2acc773

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

TableInDart.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Table(
2+
border: TableBorder.all(), // Allows to add a border decoration around your table
3+
children: [
4+
TableRow(children :[
5+
Text('Year'),
6+
Text('Lang'),
7+
Text('Author'),
8+
]),
9+
TableRow(children :[
10+
Text('2011',),
11+
Text('Dart'),
12+
Text('Lars Bak'),
13+
]),
14+
TableRow(children :[
15+
Text('1996'),
16+
Text('Java'),
17+
Text('James Gosling'),
18+
]),
19+
]
20+
),

0 commit comments

Comments
 (0)