You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.5 KiB
63 lines
1.5 KiB
1 year ago
|
import 'package:flutter/material.dart';
|
||
|
import 'package:siopas/models/asset_status_model.dart';
|
||
|
|
||
|
class AssetStatusPageTile extends StatelessWidget {
|
||
|
// final AssetStatusModel assetStatus;
|
||
|
// AssetStatusPageTile(this.assetStatus);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return DataTable(
|
||
|
columns: const <DataColumn>[
|
||
|
DataColumn(
|
||
|
label: Expanded(
|
||
|
child: Text(
|
||
|
'Name',
|
||
|
style: TextStyle(fontStyle: FontStyle.italic),
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
DataColumn(
|
||
|
label: Expanded(
|
||
|
child: Text(
|
||
|
'Age',
|
||
|
style: TextStyle(fontStyle: FontStyle.italic),
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
DataColumn(
|
||
|
label: Expanded(
|
||
|
child: Text(
|
||
|
'Role',
|
||
|
style: TextStyle(fontStyle: FontStyle.italic),
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
],
|
||
|
rows: const <DataRow>[
|
||
|
DataRow(
|
||
|
cells: <DataCell>[
|
||
|
DataCell(Text('Sarah')),
|
||
|
DataCell(Text('19')),
|
||
|
DataCell(Text('Student')),
|
||
|
],
|
||
|
),
|
||
|
DataRow(
|
||
|
cells: <DataCell>[
|
||
|
DataCell(Text('Janine')),
|
||
|
DataCell(Text('43')),
|
||
|
DataCell(Text('Professor')),
|
||
|
],
|
||
|
),
|
||
|
DataRow(
|
||
|
cells: <DataCell>[
|
||
|
DataCell(Text('William')),
|
||
|
DataCell(Text('27')),
|
||
|
DataCell(Text('Associate Professor')),
|
||
|
],
|
||
|
),
|
||
|
],
|
||
|
);
|
||
|
}
|
||
|
}
|