mirror of
https://github.com/foss42/apidash.git
synced 2025-05-23 01:06:46 +08:00
feat: history of requests
This commit is contained in:
@ -20,6 +20,10 @@ class RequestDataTable extends StatelessWidget {
|
||||
final clrScheme = Theme.of(context).colorScheme;
|
||||
|
||||
final List<DataColumn> columns = [
|
||||
const DataColumn2(
|
||||
label: Text(''),
|
||||
fixedWidth: 8,
|
||||
),
|
||||
DataColumn2(
|
||||
label: Text(keyName ?? kNameField),
|
||||
),
|
||||
@ -30,6 +34,10 @@ class RequestDataTable extends StatelessWidget {
|
||||
DataColumn2(
|
||||
label: Text(valueName ?? kNameValue),
|
||||
),
|
||||
const DataColumn2(
|
||||
label: Text(''),
|
||||
fixedWidth: 8,
|
||||
),
|
||||
];
|
||||
|
||||
final fieldDecoration = InputDecoration(
|
||||
@ -52,6 +60,7 @@ class RequestDataTable extends StatelessWidget {
|
||||
.map<DataRow>(
|
||||
(MapEntry<String, String> entry) => DataRow(
|
||||
cells: <DataCell>[
|
||||
const DataCell(kHSpacer5),
|
||||
DataCell(
|
||||
ReadOnlyTextField(
|
||||
initialValue: entry.key,
|
||||
@ -67,6 +76,7 @@ class RequestDataTable extends StatelessWidget {
|
||||
decoration: fieldDecoration,
|
||||
),
|
||||
),
|
||||
const DataCell(kHSpacer5),
|
||||
],
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user